The Guava tools are a set of Perl scripts for HTML pre-processing. You can create multi-page documents with contents tables, or use templates to give a consistent look to a set of pages. All output is passed through the C preprocessor, so you can use directives such as #include, #define and #if. There are also built-in macros for producing dates, cross references, etc.
| Tags | Internet Web Site Management Dynamic Content Text Processing Markup HTML/XHTML |
|---|---|
| Licenses | GPL |
| Implementation | Perl |
Recent releases


Changes: The hss2html program can now automatically #undef any macros that are predefined by the C preprocessor.


Changes: Changes to the FULLREF macro allow easier maintenance of web sites that are distributed over more than one server, improved dependency generation, and minor bugfixes.


Changes: Addition of line control to hss2html and htt2html, which means that error messages can now report the source file and line number where the error occurred.


Changes: Page names may now be specified in page HDR tags, and can use diff to avoid updating output files unnecessarily. There are also minor bug fixes, and changes to dependency generation.


Changes: This release adds an <IMPORT> macro, and fixes a bug in #include. Dependency generation can now cope with missing files, and wildcards can be used in filename arguments to the websrccopy and webbuilder scripts. Various other minor bugs have been fixed.
- All comments
Recent commentsRe: ANSI has killed the C preprocessor
Do you really use the C preprocessor?
I really do.
Then your tool isn't usable with all compilers and versions of them. The C preprocessor need not generate a plain ASCII output.
Are there any preprocessors out there that can't be persuaded to generate ASCII output, with a switch or something? If there are, then you're right, my tool won't work with them.
The command used to invoke the C preprocessor can be fine-tuned using the -cpp option to the hss2html program.
If anyone is having trouble getting Guava to work with their C preprocessor, I would encourage them to email me, and we'll try to sort something out.
If all else fails, install GCC. <g>
Steve.
ANSI has killed the C preprocessor
All output is passed through the C
preprocessor, so you can use directives such as
#include, #define and #if.
Do you really use the C preprocessor? Then your
tool isn't usable with all
compilers and versions of them. The C preprocessor
need not generate a
plain ASCII output.
I know, it's bullshit to cripple the preprocessor
that way, but that's the ways
it's defined. :-(
neat tool
What I particulary found annoying in all the other html preprocessors
was that you had to include all the directives between comment
tags. I wrote a trivial preprocessor with C-style directives
and comments myself, although it's far less powerful than guava.
You can get it here (http://members.xoom.com/miscreants/misc.tar.gz) packed with
lots of other stuff, it's called shp.pl. I'm very happy to find a tool like this
being actively developed by someone who had a similar idea
with me. Great stuff, keep up the good work.