3.1.1. Tangling

This section describes the requirements of the tangling goal, and is by far the simplest to state (and implement).

The client will largely present files containing one or more program code files, separated by documentation sections. The tangler basically extracts this code, concatenates the sections sequentially, and writes the output verbatim to code files. Code sections targeting a single output file must be associated, and the target file identified and its location determined.

The detailed requirements for tangling, therefore, largely focus on deviations from normal processing.
3.1.1.1. Supported Programming Languages
3.1.1.2. Source Tracking
3.1.1.3. Chunking
3.1.1.4. Parsing for reference tables
3.1.1.5. Parsing for embedded documentation
3.1.1.6. Internationalisation