This article is from the Literate Programming FAQ, by David B. Thompson thompson@shelob.ce.ttu.edu with numerous contributions by others.
Examples of web programs are included with the FWEB, CWEB, and noweb
distributions. nuweb is written in itself.
Cameron Smith converted the K&R calculator program into a literate
program. It can be retrieved by anonymous ftp from:
niord.shsu.edu [192.92.115.8] directory kr-cweb-sample as
krcwsamp.zip
or from
LPA/Documentation
Ross Williams has released a funnelweb example. You can retrieve this
file from node ftp.adelaide.edu.au [129.127.40.3] as
/pub/funnelweb/examples/except.*
This file should be on CTAN as well.
Lee Wittenberg has posted a few litprog examples. They are available
via anonymous ftp from:
ftp://samson.kean.edu/pub/leew/samples.LP
The Stanford GraphBase is a large collection of programs by Don Knuth
for doing all kinds of computations and games with graphs; it is writ-
ten in (Levy/Knuth) CWEB. More details in the distribution. It is
available via anonymous ftp from:
labrea.stanford.edu:/pub/sgb
 
Continue to: