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.
 
 
 
 
 
 
n 5fc48da808 makefile 2 days ago
aoc rm S$ 1 month ago
dy whr 1 month ago
e e/88.k 1 month ago
g prototypes 1 month ago
l l/maths.k 2 weeks ago
t . 4 days ago
vim-c . 1 week ago
vim-k vim 5 months ago
w rm w/x/lander.k 1 month ago
x x/embed 2 days ago
.gitignore gitignore 3 months ago
.ignore 2.c 7 months ago
0.c fix static + example 2 weeks ago
1.c 1.c 2 months ago
2.c bng -> exc 2 weeks ago
3.c fix #61 1 week ago
4.c LEN 3 months ago
LICENSE agpl 4 years ago
a.c gk 4 days ago
a.h a.h 4 days ago
b.c b.c 4 days ago
e.c try() 3 months ago
f.c rm `@ `? 1 week ago
g.h b.c 5 days ago
g.k b.c 5 days ago
h.c PLH -> GAP 6 days ago
i.c rm ROT() 2 months ago
j.c j.c 7 days ago
k.c uppercase macros 3 months ago
k.h D->F 8 months ago
lopts Add example of registering foreign functions into the REPL. Make link options easier to modify. 9 months ago
m.c gk 4 days ago
makefile makefile 2 days ago
o.c bool 4 weeks ago
opts opts 1 month ago
p.c b.c 5 days ago
r.c deal 5 days ago
readme.txt repl.k readme.txt 1 week ago
repl.k repl.k readme.txt 1 week ago
s.c PLH -> GAP 6 days ago
v.c gk 4 days ago
w.c PLH -> GAP 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