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 7e7420217f ngn/k frozen 2 days ago
a19 a19 5 months ago
a20 a20 5 months ago
a21 a21 5 months ago
dy dy p196 3 months ago
e e/80.k 5 months ago
g rm g/ 3 months ago
l l/runparts.k 4 months ago
t 2\[;]1 2 3 4 1 week ago
vim-c j.c 3 months ago
vim-k vim-k 3 months ago
w wasm 4 months ago
x . 3 weeks ago
.gitignore makefile 8 months ago
0.c strlen() 3 months ago
1.c ^nan 4 months ago
2.c large mod 2 weeks ago
3.c 2022 4 months ago
LICENSE agpl 2 years ago
a.c (1+;2*)[1;3] 3 weeks ago
a.h j.c 3 months ago
b.c b.c 3 months ago
e.c 2022 4 months ago
f.c 2022 4 months ago
g.h 2022 4 months ago
g.k 2022 4 months ago
h.c cat() 3 months ago
i.c <0 3 months ago
j.c j.c 3 months ago
k.c K1(),K2() -> Kx() 3 weeks ago
k.h K1(),K2() -> Kx() 3 weeks ago
m.c \t : /fix 3 weeks ago
makefile 2.c 5 months ago
o.c (1+;2*)[1;3] 3 weeks ago
opts -Wno-string-plus-int 3 months ago
p.c p.c 4 months ago
readme.txt ngn/k frozen 2 days ago
repl.k i_Y docs 3 weeks ago
s.c 2\[;]1 2 3 4 1 week ago
v.c 2022 4 months ago
w.c d\ - nyi 3 weeks ago
x.c 2022 4 months ago


i've decided to stop working on my free reimplementation of k6 for an indefinite period.
-ngn, 24 may 2022

ngn/k is a simple fast vector programming language
license: GNU AGPLv3 (v3 only) -
build: make CC=clang-12 # or CC=gcc-10
(for unusual platforms or compilers, if that doesn't work, try "make k-libc" instead of "make")
usage: rlwrap ./k repl.k
try online: or

0.c syscalls and main() k.h embedding api
m.c memory manager 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, drill: . @ 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 string formatting: $x `k@x l/ k libraries
f.c find, random: x?y g/
1.c monadic arithmetic e/
2.c dyadic arithmetic except + and * dy/
3.c dyadic arithmetic + and * a19/
i.c i/o and \cmds a20/
v.c the rest of the verbs a21/
w.c adverbs
j.c json: `j@x `j?x
x.c serialization: `@x `?x
e.c error handling
k.c impl of embedding api

related projects: - tutorial (work in progress) - book (work in progress) - continuous integration for osx - windows port - nix package - code golf - aoc20 and aoc21 solutions - aoc17 solutions - dyalog competition solutions - kpl, apl-like extensions for k