(From wikipedia)
Literate programming is a programming paradigm introduced in 1984 by Donald Knuth in which a computer program is given as an explanation of how it works in a natural language, such as English, interspersed (embedded) with snippets of macros and traditional source code, from which compilable source code can be generated.
I think org mode makes the concept of literate programming a lot more tangible. Google colab or Jupyter notebooks is another simple way in which literte programming is made available.
Links to this note
- emacs config: exmaple of literate programming. This note itself is written in org mode format.
- Digital Garden Graph Generator: emacs org-mode's babel module enables literate programming. It supports noweb syntax as
- tmux Configuration: This note contains configuration (literate programming) that I use for
tmux
. - termux setup: phone. So, this note is meant to be executed inside emacs running on android. (literate programming).