anansi

Simple literate programming preprocessor

https://john-millikin.com/software/anansi/

Latest on Hackage:0.4.8

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

GPL-3.0-only licensed by John Millikin, Dirk Laurie
Maintained by John Millikin

Anansi is a preprocessor for literate programs, in the model of NoWeb or nuweb. Literate programming allows computer code and a human-readable document to be generated from the same source. Compared to NoWeb, Anansi’s primary benefits are the ability to include separate files, and to automatically generate an entire directory tree from a project without having to enumerate each output.

This package is split into a library and an executable. The executable is suitable for simple cases, such as generating basic HTML or LaTeX. The library is useful for users who would like to write their own output formats (called “looms”).