This article is from the Literate Programming FAQ, by David B. Thompson firstname.lastname@example.org with numerous contributions by others.
Dan Schmidt <email@example.com>
Any platform with Perl 5
C/C++ (Java soon), under noweb
email to the author <firstname.lastname@example.org>
dpp is a C/C++ prettyprinter for noweb. Its output is extremely
similar to that of CWEB, but it respects the indentation and
line breaks of the source file.
o user-defined keywords
o the ability to turn prettyprinting off for specified output
files (e.g., makefiles)
o the option to typeset comments in TeX, or not
o prettyprinting of quoted code, in documentation or chunk names
o the ability to undo whitespace hand-formatting that looks good
monospaced but awful in a proportional font