Literate Programming practices encourage good coding style and well-written integrated documentation that facilitate understanding by, presenting to, and educating of other fellow human beings, as opposed to program code sufficient just enough to run on a computer.
Understood in broader sense, Literate Programming can employ different tools, depending on particular goals, some are more specific to J and have been long used.
Literate Wiki Tool
Classic Literate Programming approach, similar to Knuth's WEB, adapted as a Wiki tool for J programming. Examples of such use include:
- A Password Generator
- Scripts/Plot 3D
- Vigenère Cipher, a convert/misc addon script
Pages using Literate style are marked with CategoryLiterate, see that category page for a list.
A J Lab file combines a text description and executable J code in a single file. The Lab system lets you step through the file, displaying the text and executing the code.
Workbook is a form of J session that allows combining documentation, executable code and results that can be edited and re-executed. Similar to Labs, but is viewable instantly and allows experimentation with any executable part. Proposed as session executed lines, Notebook or simple Window Display (ibid).
- Literate Programming book by Donald E. Knuth
- Major articles about classic Literate Programming at http://www.literateprogramming.com
- Literate programming at Wikipedia
- literate programming, Google