K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
1–10 of 93 posts
Re: K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
#2Re: K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
#3I was surprised at how verbose and commented the code was. Then I read the note saying that Whitney's original code was in `ref/` and the two files in the root were annotated by other kparc members.
Re: K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
#4Re: K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
#5Re: K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
#6Re: K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
#7What do they mean by "atw-style" ?
Re: K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
#8What do they mean by "atw-style" ?
Re: K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
#9What do they mean by "atw-style" ?
I'm guessing it's his initials; Arthur T. Whitney or perhaps ArThur Whitney, and possibly his account name.
Additional examples at
https://github.com/louyx/aplus/blob/master/src/a/k.h
https://code.jsoftware.com/wiki/Essays/Incunabulum
How would you characterize that?
Heavy use of the C preprocessor and C defaults to embed a functional programming language. Language with a small number of core functions and ability to apply functions to lists of atoms. Aesthetically favoring short identifiers and minimal whitespace to create high semantic density. Eschew comments.
Re: K/simple: a tiny K interpreter for educational purposes by Arthur Whitney
#10I was surprised at how verbose and commented the code was. Then I read the note saying that Whitney's original code was in `ref/` and the two files in the root were annotated by other kparc members.