Awesome
This project supports language-independent literate programming. It's a reimplementation of the nuweb project in Python.
So far, the parts implemented (you may like to refer to the nuweb user guide) are:
- files (
@o
and@O
)- The flag
-t
is supported (suppress tab expansion within this file)
- The flag
- fragments (
@d
and@D
) - scraps (delimited by
@{
@}
only) - user-defined identifiers
- old-style fragment parameters
- indices
@f
,@m
and@u
(I've laid@u
out a little differently) @%
(anywhere in the document, not just in scraps)@#
(put code line at left margin)@@
handling (this one was tricky, and I may not have caught all the cases)- switch
-l
(use thelistings
package), aliased--listings
- switch
-r
(generate hyperlinks), aliased--hyperlinks
.
Includes Emacs support in poly-nuweb.el
, a minor mode based
on https://github.com/polymode/polymode. See its header
for installation notes.