1
0
Fork
You've already forked k
0
forked from ngn/k
No description
  • C 85.8%
  • Vim script 5.1%
  • JavaScript 4.7%
  • Makefile 2.3%
  • HTML 1.3%
  • Other 0.8%
Find a file
2023年05月18日 19:40:00 +01:00
aoc rm S$ 2023年04月29日 19:07:10 +03:00
dy whr 2023年04月27日 05:31:51 +03:00
e e/88.k 2023年04月28日 21:34:03 +03:00
g prototypes 2023年04月27日 02:23:26 +03:00
l l/maths.k 2023年05月16日 16:22:04 +03:00
t . 2023年05月05日 01:20:16 +03:00
vim-c vim 2023年05月07日 04:48:16 +03:00
vim-k vim 2023年01月03日 21:53:16 +02:00
w rm w/x/lander.k 2023年04月29日 19:46:19 +03:00
x fix static + example 2023年05月18日 19:40:00 +01:00
.gitignore gitignore 2023年03月09日 20:32:21 +02:00
.ignore 2.c 2022年10月25日 23:17:58 +03:00
0.c fix static + example 2023年05月18日 19:40:00 +01:00
1.c 1.c 2023年04月07日 05:25:11 +03:00
2.c 2.c 2023年04月26日 22:28:04 +03:00
3.c bool 2023年05月07日 05:16:49 +03:00
4.c LEN 2023年02月22日 15:09:36 +02:00
a.c a.c 2023年04月28日 23:14:10 +03:00
a.h bool 2023年05月07日 05:16:49 +03:00
b.c bool 2023年05月07日 05:16:49 +03:00
e.c try() 2023年03月14日 22:20:18 +02:00
f.c `k? 2023年04月20日 14:50:12 +03:00
g.h g.k 2023年04月29日 19:55:39 +03:00
g.k g.k 2023年04月29日 19:55:39 +03:00
h.c bool 2023年05月07日 05:16:49 +03:00
i.c rm ROT() 2023年04月05日 20:58:07 +03:00
j.c j.c 2023年04月09日 00:42:41 +03:00
k.c uppercase macros 2023年02月20日 15:38:26 +02:00
k.h D->F 2022年10月16日 04:32:19 +03:00
LICENSE agpl 2019年12月17日 02:19:05 +02:00
lopts Add example of registering foreign functions into the REPL. Make link options easier to modify. 2022年09月12日 09:11:44 +02:00
m.c G() 2023年04月25日 18:49:27 +03:00
makefile fix static + example 2023年05月18日 19:40:00 +01:00
o.c bool 2023年05月07日 05:16:49 +03:00
opts opts 2023年04月20日 14:51:26 +03:00
p.c bool 2023年05月07日 05:16:49 +03:00
r.c r.c 2023年04月26日 10:25:28 +03:00
readme.txt readme 2023年05月04日 19:15:29 +03:00
repl.k repl.k uniq->distinct 2023年05月14日 01:04:26 +03:00
s.c 2.c 2023年04月19日 02:28:05 +03:00
v.c bool 2023年05月07日 05:16:49 +03:00
w.c w.c 2023年05月01日 21:01:09 +03:00
x.c x.c 2023年04月28日 05:34:02 +03:00

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/#/#aplfarm-k: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
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
x.c serialization: `@x `?x
e.c error handling
k.c embedding api