Archives and Selected Examples

Literate Programming Archives

Various stuff, including WEB systems for Maple, Reduce, Ada and APL, CNOWEB, DOSNOWEB, FunnelWEB, MWEB, PC-WEB, SpiderWEB,... can be found at the following archives in the US and in Europe:
  • George D. Greenwade's archive at Niord.shsu.edu (gopher server)
  • Joachim Schrod's archive at ftp.th-darmstadt.de.
  • The sites of the CTAN, the "Comprehensive TeX Archive Network"
  • Selected Samples

    FWEB

    Sample programs for FWEB are contained in the FWEB distribution at lyman.pppl.gov [this dir has disappeared. The unpacked demo files are now here]. Here, you can look at woven sample output (PostScript, ASCII).

    A couple of sample files for CWEB can be retrieved from the freeHEP server (in directory pub/freehep/languages/cweb) as well. Here, you can look at woven sample output (PostScript, ASCII). Here is a long example [PostScript] in C++.

    CWEB

    More sample programs for CWEB are contained in the CWEB distribution at labrea.stanford.edu in directory pub/cweb/examples.

    The simple desk calculator program from the Kernighan & Ritchie standard text on C was transformed into a instructive LitProg example for multiple source files by Cameron Smith. It can be retrieved via anonymous FTP from ftp.desy.de in directory pub/web/cweb/kr-cweb-sample. Here, you can look at its woven output (PostScript, ASCII).

    NOWEB

    I am hoping for your comments on a couple of examples written in NOWEB v2.5 which supports an index of user-defined identifiers.

    With v2.6, Noweb has an HTML front-end. Here are some examples with C++.

    Examples for CWEB and NOWEB by Lee Wittenberg are obtainable via anon FTP from bart.kean.edu/pub/leew/samples.LP


    Last updated August 4, 1994

    Marcus Speh

    <marcus@x4u.desy.de>