Very cool, and nice code. Just to be pedantic (I mean it in the best way), this isn't quite literate programming.<p>A very basic explanation would be: literate programming is the result of writing a program in a sort of psuedo-code that explains the program in the order of the programmer's thoughts, and then running it through a compiler of sorts which "untangles" the literate program and outputs machine-readable code.<p>The linked post is nicely formatted and well-documented "regular" code.