This is a literate programming system for Java, quite similar to CWEB and the original WEB system. (What is literate programming?)
To see what programs written in the Rambutan idiom look like, see the Rambutan manual, which in the best literate programming traditions is also an article in TUGboat and an example program.
If your browser runs Java applets, you should see the example program running below. If not, see here. Try entering N1,N2 and pressing run to see the N1th to N2th primes.
The example is adapted from Knuth's original article on literate programming. The source is included in the Rambutan distribution.
Rambutan is free software under the GNU GPL.
You can download the distribution as a zip archive (currently
version 1.22). Installation is pretty simple, and system privileges
are not needed. See the README
file for
instructions.
I developed Rambutan using Norman Ramsey's Spidery WEB system, plus various modifications.
If you use CWEB a few points may be of interest:
javaweave -x MyFile
(the
-x
flag suppresses the index). \input javaweb
to \input javawebb
\vfill\end
\documentclass{article} \begin{document} \begingroup \input MyFile \endgroup \end{document}