Original-Via: uk.ac.nsf; Sun, 2 Feb 92 02:07:28 GMT


I, too, am puzzled about trying to fix a ``literate style'' in a
particular programming language.  It seems to have limited use.  There
appear to be many other kinds of ``documented code'' where it seems to
be inappropriate:

- Documents where there may be many versions of a function FOO,
  perhaps to illustrate a transformation sequence deriving the final
  version actually used in the program.  Some of these code fragments
  may have elided portions, or pseudo-code.

- Documents where text formatting facilities (fonts, symbols) are used
  within code.

- Documents that compare code fragments in several programming languages

In all these cases, and more, there does not seem to be a suitably
simple, general notion of mechanically extracting ``the program'' from
the text.

Nikhil

Reply via email to