4 ms·
Totally love the quest for elegant and minimal implementations. But I don't think line-counts are comparable across languages. The APL/K crowd has a very differ
by jpfr 3y ago
Totally love the quest for elegant and minimal implementations.
But I don't think line-counts are comparable across languages.
The APL/K crowd has a very different opinion on the number of statements per line.
To give an impression of the style, this is the C-implementation of a K interpreter.
Have fun deciphering that.
https://codeberg.org/ngn/k/src/branch/master/a.c https://codeberg.org/ngn/k/src/branch/master/a.c