literate programming
Documentation generator – the inverse on literate programming where documentation is embedded in and generated from source code
Sweave and
Knitr – examples of use of the "noweb"-like Literate Programming tool inside the R language for creation of dynamic statistical reports