2020-04-13 16:06:45 +00:00
|
|
|
Title: The Inweb Manual and Source Code
|
2020-03-19 00:03:04 +00:00
|
|
|
Author: Graham Nelson
|
|
|
|
|
|
|
|
@ This website holds human-readable, or "woven", forms of the source code for
|
|
|
|
the literate programming tool Inweb. To download and build Inweb, go to the
|
|
|
|
repository's front page and follow the instructions there. These pages are
|
|
|
|
purely to help maintainers of Inweb, or anyone interested in looking under the
|
|
|
|
hood, to see how it works.
|
|
|
|
|
|
|
|
@ The Inform software uses literate programming, a doctrine invented by Donald
|
|
|
|
Knuth. Under LP, a single program is called a "web", and can either be
|
|
|
|
"woven" for humans to read or "tangled" for computers to compile. You are
|
2020-04-12 16:24:23 +00:00
|
|
|
reading the woven form. There are five webs accessible from this page:
|
2020-03-19 00:03:04 +00:00
|
|
|
(a) The |inweb| tool.
|
|
|
|
(b) The |foundation| module, which is not a stand-alone program, but is
|
|
|
|
instead a library of utility functions needed by |inweb| and also by some
|
|
|
|
of the programs tangled by it (such as the Inform compiler).
|
|
|
|
(c) A modest unit test tool, which simply exercises some of the functions
|
|
|
|
of |foundation|.
|
2020-04-12 16:24:23 +00:00
|
|
|
(d) Two small example webs: |twinprimes|, which is just a single section,
|
|
|
|
and |goldbach|, which has two sections.
|