literate programming

<programming, text> Combining the use of a text formatting language such as TeX and a conventional programming language so as to maintain documentation and source together. The program is sometimes marked to distinguish it from the text, rather than the other way around as in normal programs.

See inverse comment convention.