Stitch – A small Python library for writing reproducible reports in Markdown
pystitch.github.io
pystitch.github.io
> Let us change our traditional attitude to the construction of programs: Instead of imagining that our main task is to instruct a computer what to do, let us concentrate rather on explaining to humans what we want the computer to do.
This is exactly what we're trying to do with Eve [1]. Right now we're commonmark compatible, so we support the same kind of workflow as this project: write markdown as usual, code blocks are executable Eve code. For example, here's an implementation of TodoMVC written as a literate program [2].
[1] https://www.jstatsoft.org/article/view/v046i03
Now we've got Markdown as a simple plain text formatting syntax, and Juypter/ipython notebooks followed, containing literate programming. Now we're seeing the rise of Markdown based literate programming.
I can't wait for a true meta-programming language to arrive on the level of Org-Babel, that's the biggest selling point of emacs!
Knuth is a fan of this method of program construction. Of course, he is not only a phenomenal programmer; he is a great writer skilled at explaining complex algorithms and code. I can see why literate programming suits him.
[1] https://www.amazon.com/Computers-Typesetting-B-TeX-Program/d...
This simple setup is enough to access any programming language or other tool which handles stdio (including the shell, where we can invoke more complicated build tools, etc.)