1
0
Fork
You've already forked ngn-k
0
forked from ngn/k
No description
  • C 83.1%
  • Vim script 6.7%
  • JavaScript 6.1%
  • Makefile 2.1%
  • HTML 1.4%
  • Other 0.6%
Find a file
2021年08月03日 18:44:16 +03:00
a19 makefiles 2021年06月29日 20:54:56 +03:00
a20 makefiles 2021年06月29日 20:54:56 +03:00
e disable e/96.k 2021年08月01日 08:28:59 +03:00
g f.c 2021年07月29日 12:37:44 +03:00
t combining projections 2021年08月01日 18:25:17 +03:00
vim-c rm BR 2021年08月02日 21:21:26 +03:00
vim-k vim \\ 2021年03月21日 08:59:42 +02:00
web k.js 2021年07月29日 12:53:28 +03:00
.gitignore g/implement-swap-encoding.k 2021年05月02日 19:52:42 +03:00
0.c 0.c 2021年07月31日 06:40:52 +03:00
1.c eac1() 2021年07月31日 06:54:02 +03:00
2.c eac2() 2021年07月31日 06:56:19 +03:00
3.c eac2() 2021年07月31日 06:56:19 +03:00
a.h a.h 2021年08月03日 18:44:16 +03:00
b.c gi(x) -> xv 2021年08月01日 13:30:10 +03:00
c.c favour x,y,z over u 2021年07月08日 13:25:38 +03:00
e.c na() 2021年08月01日 09:14:04 +03:00
f.c gi(x) -> xv 2021年08月01日 13:30:10 +03:00
g.h g.k 2021年08月02日 21:09:04 +03:00
g.k g.k 2021年08月02日 21:09:04 +03:00
h.c g.k 2021年08月02日 21:09:04 +03:00
i.c gi(x) -> xv 2021年08月01日 13:30:10 +03:00
j.c eac1() 2021年07月31日 06:54:02 +03:00
k.c _k() _w() 2021年08月03日 18:24:04 +03:00
k.h sr.ht -> codeberg 2021年05月02日 00:20:03 +03:00
LICENSE agpl 2019年12月17日 02:19:05 +02:00
m.c tc tC 2021年08月02日 20:39:27 +03:00
makefile makefile 2021年07月17日 20:02:35 +03:00
p.c gi(x) -> xv 2021年08月01日 13:30:10 +03:00
readme.txt readme 2021年07月05日 15:42:51 +03:00
repl.k repl.k 2021年07月17日 19:56:32 +03:00
s.c tc tC 2021年08月02日 20:39:27 +03:00
v.c g.k 2021年08月02日 21:09:04 +03:00
w.c g.k 2021年08月02日 21:09:04 +03:00
x.c gi(x) -> xv 2021年08月01日 13:30:10 +03:00

ngn/k is a simple fast vector programming language
license: GNU AGPLv3 (v3 only) - https://codeberg.org/ngn/k/blob/master/LICENSE
build: CC=clang-10 make -e # or CC=clang-7 or CC=clang-11 or CC=gcc-8
usage: rlwrap ./k repl.k
a.h common header
g.h header generated by g.k
k.h header for ffi
0.c syscalls and main()
m.c memory manager
p.c parser
b.c bytecode compiler and virtual machine
k.c eval, apply, amend, drill: . @
h.c shape-related: x#y ,x x,y
s.c object to string: $x `k@x
f.c find, random: x?y
1.c monadic arithmetic
2.c dyadic arithmetic except + and *
3.c dyadic arithmetic + and *
i.c i/o and \cmds
v.c the rest of the verbs
w.c adverbs
j.c json: `j@x `j?x
x.c serialization: `@x `?x
c.c cryptography
e.c error handling
t/ unit tests
g/ https://codegolf.stackexchange.com/
e/ https://projecteuler.net/
a19/ https://adventofcode.com/2019
a20/ https://adventofcode.com/2020
o/ build tmp
web/ browser ui