You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
2 days ago | |
---|---|---|
aoc | 1 month ago | |
dy | 1 month ago | |
e | 1 month ago | |
g | 1 month ago | |
l | 2 weeks ago | |
t | 4 days ago | |
vim-c | 1 week ago | |
vim-k | 5 months ago | |
w | 1 month ago | |
x | 2 days ago | |
.gitignore | 3 months ago | |
.ignore | 7 months ago | |
0.c | 2 weeks ago | |
1.c | 2 months ago | |
2.c | 2 weeks ago | |
3.c | 1 week ago | |
4.c | 3 months ago | |
LICENSE | 4 years ago | |
a.c | 4 days ago | |
a.h | 4 days ago | |
b.c | 4 days ago | |
e.c | 3 months ago | |
f.c | 1 week ago | |
g.h | 5 days ago | |
g.k | 5 days ago | |
h.c | 6 days ago | |
i.c | 2 months ago | |
j.c | 7 days ago | |
k.c | 3 months ago | |
k.h | 8 months ago | |
lopts | 9 months ago | |
m.c | 4 days ago | |
makefile | 2 days ago | |
o.c | 4 weeks ago | |
opts | 1 month ago | |
p.c | 5 days ago | |
r.c | 5 days ago | |
readme.txt | 1 week ago | |
repl.k | 1 week ago | |
s.c | 6 days ago | |
v.c | 4 days ago | |
w.c | 6 days ago |
readme.txt
ngn/k is a simple fast vector programming language try: https://ngn.codeberg.page/k build: make CC=clang-11 # or CC=gcc-10 or other use: rlwrap ./k repl.k license: GNU AGPLv3 (v3 only) - https://codeberg.org/ngn/k/raw/branch/master/LICENSE community: https://matrix.to/#/#ngnk:matrix.org - chat https://github.com/gitonthescene/ngnk-mode - emacs mode https://github.com/gitonthescene/ngnk-libs - collection of libraries https://github.com/chrispsn/ngn-k-unparser - unparser https://github.com/razetime/ngn-k-tutorial - tutorial (work in progress) https://xpqz.github.io/kbook/ - book (work in progress) https://github.com/kidd/arraylangs-index - analysis of ngn/k AoC solutions https://github.com/secwang/ngnkcart - searchable database of snippets https://github.com/xpqz/ngnk_mirror - continuous integration for osx https://github.com/traws0/ngnk-windows - windows port https://github.com/nathyong/ngnk-nix - nix package https://code.golf/rankings/holes/all/k/bytes - code golf https://week.golf/ - code golf https://codegolf.stackexchange.com/search?tab=newest&q=ngn - code golf https://k.miraheze.org/wiki/Advent_of_Code - aoc solutions by multiple people https://github.com/xpqz/dyalogk - dyalog competition solutions https://codeberg.org/CptJimKirk/kpl - kpl, apl-like extensions for k https://github.com/SirBogman/codemirror-lang-k - codemirror lezer parser https://codeberg.org/suhr/kes - embedding example https://crates.io/crates/ngnk - rust bindings source: 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 libk.so o.c order and equivalence o/ build output s.c to string: $x `k@x l/ k libraries f.c find g/ https://codegolf.stackexchange.com/ r.c random e/ https://projecteuler.net/ 1.c arithmetic monadic verbs dy/ https://problems.tryapl.org/ 2.c arithmetic dyadic verbs aoc/ https://adventofcode.com/ 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 e.c error handling k.c embedding api