Hack ngn's k to compile on Mac OS X
- C 83.2%
- Vim script 6.7%
- JavaScript 6%
- Makefile 2.1%
- HTML 1.4%
- Other 0.6%
| a19 | makefiles | |
| a20 | makefiles | |
| e | disable e/96.k | |
| g | f.c | |
| t | combining projections | |
| vim-c | rm BR | |
| vim-k | vim \\ | |
| web | k.js | |
| .gitignore | g/implement-swap-encoding.k | |
| 0.c | Constant is added to UNIX system calls in OSX. | |
| 1.c | eac1() | |
| 2.c | eac2() | |
| 3.c | eac2() | |
| a.h | a.h | |
| b.c | gi(x) -> xv | |
| c.c | favour x,y,z over u | |
| e.c | na() | |
| f.c | gi(x) -> xv | |
| g.h | g.k | |
| g.k | g.k | |
| h.c | g.k | |
| i.c | Merge remote-tracking branch 'origin/master' | |
| j.c | eac1() | |
| k.c | _k() _w() | |
| k.h | sr.ht -> codeberg | |
| LICENSE | agpl | |
| m.c | tc tC | |
| makefile | Merge remote-tracking branch 'origin/master' | |
| p.c | gi(x) -> xv | |
| readme.txt | readme | |
| repl.k | repl.k | |
| s.c | tc tC | |
| v.c | Merge remote-tracking branch 'origin/master' | |
| w.c | g.k | |
| x.c | gi(x) -> xv | |
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