←back to thread

140 points Tomte | 1 comments | | HN request time: 0.272s | source
1. daly ◴[] No.26290178[source]
I've been writing literate programs for years

Here is a video showing a literate form of Clojure:

https://www.youtube.com/watch?v=mDlzE9yy1mk

The literate program creates a new PDF and a working version of Clojure, including running a test suite. If you change the literate code and type 'make' it re-makes the PDF with the new changes and rebuilds/retests Clojure.

and here is the source:

https://github.com/robleyhall/clojure-small-pieces