Overview

literate programming


Show Summary Details

Quick Reference

A style of programming introduced by D. E. Knuth in which the code is split up into fragments, each accompanied by a paragraph or paragraphs of explanatory text. The fragments are presented in the order most appropriate for explanation, rather than the order dictated by the rules of the programming language. A utility called tangle is used to rearrange the code fragments into the right order for compilation. Knuth's system, called WEB, was developed for Pascal programs, but versions for C have also been produced.

Subjects: Computing.


Reference entries

Users without a subscription are not able to see the full content. Please, subscribe or login to access all content.