neko/k
what
neko/k is an(other) implementation of the K programming language.
it covers a subset of K6 dialect.
who
neko/k is currently maintained by mitchell.
send issues/patches to root@nekoarch.cc
+ thanks to:
- arthur whitney for creating k language
- tttiw for inspiring this project
- shaktidb for their great web design (k/nyi)
run
requirement: a decent C compiler
no license, use at your own risk (and pleasure).
$ git clone git@github.com:nekoarch/k.git
$ cd k && ./make
$ ./k z.k
done.
man
neko/k 2025/10/15
: assign f[1;2] funcall /comment
Verb (monad) Adverb
+ + flip f' each \: eachleft /: eachright
- - negation [x]f/ over c/ join i/ decode
* * first [y]f\ scan c\ split i\ encode
% div sqrt
& where min/and i/o System
| reverse max/or ^0: r/w line \ man
< asc less ^1: r/w file \v var
> desc more ^2: r/w csv \t[n] time
= group equal \\ exit
~ match not cf
! key enum $[b;t;f] cond
, concat enlist
^ ^cut sort class Type
# take count list (1;2.3;"c") char " ab"
_ drop floor ^dict [`a:1;`b:2] int 2 3 3e9
? ^find ^uniq func f:{[a;b]a+b} flt 2 3.4 4.
@ ^at ^type expr x:a+b sym `a`b`c
exp log rand sin cos abs
other
some other projects:
- k.edu modified by kparc
- ngn/k
- charles hall's gk
/:~