1
0
Fork
You've already forked k
0
forked from ngn/k
No description
  • C 84.4%
  • Vim script 6.1%
  • JavaScript 5.4%
  • Makefile 2%
  • HTML 1.6%
  • Other 0.5%
Find a file
2021年12月19日 11:56:21 -05:00
a19 a19 2021年12月16日 20:33:41 +02:00
a20 a20 2021年12月17日 05:24:24 +02:00
a21 a21/i/18 2021年12月19日 11:56:21 -05:00
dy eal2f() ear2f() 2021年12月02日 18:04:18 +02:00
e i': 2021年11月30日 11:43:19 +02:00
g "/http" -> "/ http" 2021年12月09日 00:34:28 +02:00
l runparts.k 2021年12月18日 06:06:08 +02:00
t p.c fix #23 2021年12月13日 22:00:06 +02:00
vim-c b.c 2021年11月11日 10:36:45 +02:00
vim-k vim-k 2021年12月17日 05:08:47 +02:00
w w/ f1 2021年12月13日 19:32:21 +02:00
x k.h KR() 2021年11月29日 15:29:30 +02:00
.gitignore makefile 2021年09月15日 09:06:57 +03:00
0.c m.c 2021年12月04日 23:31:46 +02:00
1.c signed chars 2021年11月29日 00:48:30 +02:00
2.c 2.c 2021年12月18日 05:27:32 +02:00
3.c XYmMA() 2021年11月29日 18:18:24 +02:00
a.c K0() 2021年12月19日 17:06:00 +02:00
a.h `err[] 2021年12月18日 06:22:50 +02:00
b.c b.c 2021年12月14日 01:46:37 +02:00
e.c `err[] 2021年12月18日 06:22:50 +02:00
f.c rshN() -> rsh() 2021年11月20日 22:45:23 +02:00
g.h cmdm() 2021年11月29日 23:31:10 +02:00
g.k cmdm() 2021年11月29日 23:31:10 +02:00
h.c mr enla() 2021年12月14日 20:24:10 +02:00
i.c m.c 2021年12月04日 23:31:46 +02:00
j.c stack 2021年11月29日 02:50:31 +02:00
k.c K0() 2021年12月17日 20:48:59 +02:00
k.h K0() 2021年12月17日 20:48:59 +02:00
LICENSE agpl 2019年12月17日 02:19:05 +02:00
m.c empty.k 2021年12月05日 15:52:50 +02:00
makefile 2.c 2021年12月14日 22:41:32 +02:00
o.c o.c 2021年12月01日 20:08:28 +02:00
opts -fsigned-char 2021年11月29日 00:21:19 +02:00
p.c p.c 2021年12月14日 20:20:53 +02:00
readme.txt readme 2021年12月13日 17:41:21 +02:00
repl.k `err[] 2021年12月18日 06:22:50 +02:00
s.c str() 2021年12月05日 14:21:47 +02:00
v.c unq() 2021年12月16日 16:35:39 +02:00
w.c w.c 2021年12月13日 13:14:36 +02:00
x.c syp() -> qs() 2021年12月01日 18:52:55 +02:00

ngn/k is a simple fast vector programming language
license: GNU AGPLv3 (v3 only) - https://codeberg.org/ngn/k/raw/branch/master/LICENSE
build: make CC=clang-12 # or CC=gcc-10
usage: rlwrap ./k repl.k
online: https://ngn.codeberg.page/k or https://ngn.bitbucket.io/k
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 libk.so
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/ https://codegolf.stackexchange.com/
1.c monadic arithmetic e/ https://projecteuler.net/
2.c dyadic arithmetic except + and * dy/ https://problems.tryapl.org/
3.c dyadic arithmetic + and * a19/ https://adventofcode.com/2019
i.c i/o and \cmds a20/ https://adventofcode.com/2020
v.c the rest of the verbs a21/ https://adventofcode.com/2021
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:
https://github.com/xpqz/ngnk_mirror - continuous integration for osx
https://github.com/traws0/ngnk-windows - windows port
http://copy.sh/kaoc20/ - aoc20 solutions
https://github.com/chrispsn/aoc2017 - aoc17 solutions
https://github.com/xpqz/dyalogk - dyalog competition solutions
https://codeberg.org/CptJimKirk/kpl - kpl, apl-like extensions for k