Reverse Literate Programming
Abstract:
describe a program hierarchically according to the method of stepwise refinement. The result is source code, which can be read sequentially like a book, section after section. This helps when reading printed source code, but on screen source code is read rather selectively like an encyclopedia. There the programmer wants a system which allows, possibly even encourages, selective browsing; zoom in at interesting points; jump to other locations according to control flow or other semantic relationships. This is the approach chosen by hypertext systems. In this paper, we demonstrate a solution, called Reverse Literate Programming, which combines the advantages of Knuth's method and of the hypertext approach. We implemented active text elements making it possible to have the source code as a hypertext screen document. A special command prints this document as a Literate Program, i.e. an essay, including documentation, pictures, and program code. The implementation was done in the Oberon system which offers powerful mechanisms for extending software in an object-oriented way. 1.
Citations
| 47 | An essay on software reuse – Standish - 1984 |
| 12 | Write-ing Applications: Designing an Extensible Text Editor as an Application Framework – Szyperski - 1992 |
| 5 | Adding Persistence to the Oberon-System – Knasmller - 1996 |
| 2 | An Interactive Environment for Literate Programming. Structured Programming – Brown, Childs - 1990 |
| 2 | Literate Programming. The Computer Journal. 27(2 – Knuth - 1984 |
| 1 | Ein grafischer Editor fr Literate Programming. Diploma Thesis – Knasmller - 1993 |

