2
0
Fork
You've already forked ngnk
0
Previously ngn/k fork, had to detach to fork growler/k
  • C 86%
  • Vim script 4.8%
  • JavaScript 4.4%
  • Makefile 2.8%
  • HTML 1.2%
  • Other 0.7%
Find a file
2025年01月23日 10:41:42 -05:00
aoc
dy
e
g
l
t fix k!i+!n on range wrap 2025年01月23日 10:41:42 -05:00
vim-c
vim-k
w fix comment 2024年10月18日 13:03:46 +09:00
x More coverage for foreign tests 2024年10月25日 15:59:01 +09:00
.gitignore
.ignore
0.c Add strncmp to wasm API 2024年11月29日 11:06:14 +09:00
1.c REFB 2024年01月07日 16:50:07 +02:00
2.c fix k!i+!n on range wrap 2025年01月23日 10:41:42 -05:00
3.c
4.c
a.c Add b2by utility for creating chars from (short) bit arrays 2025年01月14日 19:35:23 +09:00
a.h Add b2by utility for creating chars from (short) bit arrays 2025年01月14日 19:35:23 +09:00
b.c . 2024年01月08日 03:24:55 +02:00
c.c . 2025年01月20日 13:51:13 +09:00
Dockerfile tighter control on symbol visibility in libk.so 2024年06月02日 13:34:32 +09:00
e.c
f.c
g.h rm _m() 2024年01月07日 20:49:31 +02:00
g.k rm _m() 2024年01月07日 20:49:31 +02:00
h.c bug when amend fills capacity 2025年01月15日 21:02:43 +09:00
i.c don't quit on partial reads unless std file handle 2024年08月07日 13:48:22 +09:00
j.c
k.c typo 2024年06月06日 05:21:51 +00:00
k.h sync with ktye's k.h 2024年06月05日 11:14:05 +09:00
LICENSE
lopts
m.c Just use empties if size is 0 2025年01月12日 12:24:52 +09:00
makefile Add target for building libk.dylib 2024年10月23日 17:35:24 +09:00
o.c . 2024年01月08日 03:24:55 +02:00
opts
p.c . 2024年11月06日 18:12:32 +09:00
r.c r.c 2024年02月14日 21:08:16 -05:00
readme.txt update comment to not seem dead 2025年01月13日 13:13:14 +09:00
repl.k Remove hardcoded tput path 2024年01月14日 19:48:24 +01:00
s.c Fix stringop-overflow error caused by I5 being longer than P5 2024年01月28日 21:43:16 -05:00
v.c til() 2025年01月23日 08:24:11 -05:00
w.c dict fold 2024年11月25日 18:23:02 +09:00

this k implementation is (lightly?) supported and is a fork of https://codeberg.org/ngn/k
for others, see https://k.miraheze.org/wiki/Running_K
ngn/k is a simple fast vector programming language
try: https://ngn.codeberg.page/k
build: make CC=clang-17 # or CC=gcc-10 or other
use: rlfe -h ~/.k_history ./k repl.k
chat: https://matrix.to/#/#ngnk:matrix.org
license: GNU AGPLv3 (v3 only) - https://codeberg.org/ngn/k/raw/branch/master/LICENSE
community:
 learn:
 book (work in progress) https://xpqz.github.io/kbook/
 tutorial (work in progress) https://github.com/gitonthescene/ngnk-libs/tree/master/tutorial
 tutorial https://github.com/razetime/ngn-k-tutorial
 embedding example https://codeberg.org/suhr/kes
 searchable database of snippets https://github.com/secwang/ngnkcart
 edit:
 vim mode (in this repo) ./vim-k
 emacs mode https://github.com/gitonthescene/ngnk-mode
 fun:
 code golf https://code.golf/rankings/holes/all/k/bytes
 code golf https://codegolf.stackexchange.com/search?tab=newest&q=ngn
 aoc solutions by multiple people https://k.miraheze.org/wiki/Advent_of_Code
 analysis of ngn/k AoC solutions https://github.com/kidd/arraylangs-index
 dyalog competition solutions https://github.com/xpqz/dyalogk
 interop:
 windows port https://github.com/traws0/ngnk-windows
 rust bindings https://crates.io/crates/ngnk
 continuous integration for osx https://github.com/xpqz/ngnk_mirror
 nix package https://github.com/nathyong/ngnk-nix
 more:
 collection of libraries https://github.com/gitonthescene/ngnk-libs
 unparser https://github.com/chrispsn/ngn-k-unparser
 codemirror lezer parser https://github.com/SirBogman/codemirror-lang-k
 various utils http://arlyle.sdf.org/k/
 kpl, apl-like extensions for k https://codeberg.org/CptJimKirk/kpl
 bindings for a regex library https://github.com/x86y/onikuruma
 videos of solving aoc in ngn/k https://www.twitch.tv/fcopy
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
c.c type conversions g/ https://codegolf.stackexchange.com/
f.c find e/ https://projecteuler.net/
r.c random dy/ https://problems.tryapl.org/
1.c arithmetic monadic verbs aoc/ https://adventofcode.com/
2.c arithmetic dyadic verbs
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