Welcome to ftp.nluug.nl Current directory: /pub/os/Linux/distr/CTAN/web/noweb/examples/ |
|
Contents of README:All these examples have been set up to work with latex, although I often prefer plain TeX because latex's page breaking is so bad and so hard to control. breakmodel.nw is the only one that requires cross-referencing (noweave -x). I have included the nonstandard `multicol' style file, although it is readily available as part of the Mainz distribution. Except for breakmodel.nw, each example file is a fragment of a larger program. noweb itself is not a good example of literate programming. It is harder than most people realize to write a truly literate program, and noweb wasn't worth the effort. If you have installed noweb with LIBSRC=awk instead of LIBSRC=icon, you need to use Makefile.awk instead of Makefile. The files are: Makefile Shows some sample default rules for use in a Makefile. Try `make tree.tex tree.dvi'. Makefile.awk Like Makefile but doesn't require Icon. None of the HTML examples will be readable without Icon. breakmodel.nw A formal model of breakpoints using the Promela modeling language. dag.nw Fragment of an Icon program that compiles patterns into decision-tree pattern-matching code. tree.nw builds the decision trees; dag.nw turns them into dags. graphs.nw Several graphs written in jgraph (write plank@cs.utk.edu for information about jgraph). mipscoder.nw Part of the original MIPS code generator from Standard ML of New Jersey. Writting in Standard ML. primes.nw noweb version of DEK's original prime-number program. scanner.nw Part of a student compiler project. Includes C code and lex and yacc specifications, all in a single file. sharpline A noweb filter that makes noweb `see' #line directives in a noweb file. test.nw A simple test file. tree.nw Fragment of an Icon program that compiles patterns into decision-tree pattern-matching code. tree.nw builds the decision trees; dag.nw turns them into dags. wc.nw A re-implementation in noweb of the CWEB example from DEK's book. This example is intended to be as exact a copy as possible; no attempt was made to improve the code. whitespace A noweb filter that makes whitespace insignificant within chunk names. |
Name Last modified Size
Parent Directory - Makefile 20-Apr-2006 18:45 2.1K Makefile.awk 20-Apr-2006 18:45 1.9K README 20-Apr-2006 18:43 2.2K README.h 11-Nov-1998 16:50 2.8K breakmodel.nw 12-Feb-1995 15:11 15K compress.nw 11-Nov-1997 16:37 42K dag.nw 05-May-2000 17:30 5.9K graphs.nw 12-Feb-1995 15:55 8.1K mipscoder.nw 12-Feb-1995 17:07 43K multicol.sty 06-Nov-1993 13:27 16K primes.bbl 12-Feb-1995 17:17 360 primes.nw 30-Jun-2000 11:53 6.2K scanner.nw 12-Feb-1995 17:32 15K sharpline 08-Nov-1993 15:49 655 test.nw 09-Sep-1993 19:01 317 tree.nw 12-Feb-1995 17:49 12K wc.bbl 07-Aug-1992 17:48 452 wc.nw 30-Jun-2000 11:55 12K wc.nw2html 12-Feb-1995 17:54 11K whitespace 20-Jul-2009 12:58 344
NLUUG - Open Systems. Open Standards
Become a member
and get discounts on conferences and more, see the NLUUG website!