You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
n 4acb4ab761
2 days ago
aoc . 1 week ago
dy dy 3 days ago
e tests 1 week ago
g . 1 week ago
l l/runparts.k 6 days ago
t `p@ 4 days ago
vim-c vim 1 week ago
vim-k vim 3 months ago
w ktyye's lz4 1 week ago
x Add example of registering foreign functions into the REPL. Make link options easier to modify. 7 months ago
.gitignore gitignore 3 weeks ago
.ignore 2.c 5 months ago
0.c strchrnul 1 week ago
1.c . 1 week ago
2.c tE 7 days ago
3.c tE 7 days ago
4.c LEN 1 month ago
LICENSE agpl 3 years ago
a.c `p@ 3 days ago
a.h `p@ 3 days ago
b.c b.c 2 weeks ago
e.c try() 2 weeks ago
f.c f.c 4 days ago
g.h tE 2 weeks ago
g.k tE 2 weeks ago
h.c tE 7 days ago
i.c . 1 week ago
j.c . 1 week ago
k.c uppercase macros 1 month ago
k.h D->F 5 months ago
lopts Add example of registering foreign functions into the REPL. Make link options easier to modify. 7 months ago
m.c `p@ 3 days ago
makefile dy 5 days ago
o.c tE 1 week ago
opts Revert "rm -Wno-unused-result" 1 week ago
p.c `p@ 3 days ago
r.c tE 1 week ago
readme.txt readme 2 weeks ago
repl.k . 2 days ago
s.c tE 6 days ago
v.c tE 6 days ago
w.c tE 7 days ago
x.c uppercase macros 1 month ago


ngn/k is a simple fast vector programming language
build: make CC=clang-11 # or CC=gcc-10 or other
use: rlwrap ./k repl.k
license: GNU AGPLv3 (v3 only) -

community projects:                 - emacs mode                 - collection of libraries                 - tutorial (work in progress)                              - book (work in progress)                   - analysis of ngn/k AoC solutions                        - searchable database of snippets                        - continuous integration for osx                     - windows port                       - nix package               - code golf                                         - code golf - code golf                 - aoc solutions by multiple people                            - dyalog competition solutions                        - kpl, apl-like extensions for k             - codemirror lezer parser                              - embedding example

0.c main()                       k.h  embedding api
m.c memory manager and repl      a.h  common header
p.c parser                       g.h  header generated by g.k
b.c bytecode compiler and vm     t/   unit tests
a.c eval, apply, amend: . @      w/   web ui
h.c shape-related: x#y ,x x,y    x/   example for using
o.c order and equivalence        o/   build output
s.c to string: $x `k@x           l/   k libraries
f.c find                         g/
r.c random                       e/
1.c arithmetic monadic verbs     dy/
2.c arithmetic dyadic  verbs     aoc/
3.c arithmetic       adverbs
4.c prime sieve
i.c input/output
v.c other verbs
w.c other adverbs
j.c json: `j@x `j?x
x.c serialization: `@x `?x
e.c error handling
k.c embedding api