3 ms·
Whoa! Love the idea of a hybrid lua/markdown file; I didn't realize that the readme for the Github project WAS the source code till I noticed it was just a syml
by adamesque 12y ago
Whoa! Love the idea of a hybrid lua/markdown file; I didn't realize that the readme for the Github project WAS the source code till I noticed it was just a symlink to the .lua file.
Very cool.
- elviejo 12y agoThat approach is called literate programming. http://en.m.wikipedia.org/wiki/Literate_programming http://en.m.wikipedia.org/wiki/Literate_programming
- theoh 12y agoThis is an obvious point, but the slightly ostentatious uses of the term "literate" by Knuth is not, apparently, a dig at the kind of "coding bums" (Dijkstra's words) who liked to use APL. There is a literate APL system out there, and Knuth seems to see APL in a different light from Dijkstra, as a specification language. http://tex.loria.fr/litte/knuth-interview http://tex.loria.fr/litte/knuth-interview
- dllthomas 12y agoHe said he chose "literate" because he wanted those who didn't like it to be advocating "illiterate programming". The common use of the term these days (source interspersed with documentation, serving as both) leaves out one significant aspect of WEB, where you could do quite a bit of rearranging the file layout (with slightly-buffed-up C style macros, basically) so that the communicative structure dominated. Reading through the papers on it was interesting; I've not actually put together a project in it.