Projects / Guava

Guava

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
Licenses
Implementation

RSS Recent releases

  •  08 Feb 2001 02:47

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

  •  30 Jan 2001 06:12

    Release Notes: 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.

    •  30 Jan 2001 06:12

      Release Notes: 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.

      •  30 Jan 2001 06:12

        Release Notes: 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.

        •  30 Jan 2001 06:12

          Release Notes: 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.

          RSS Recent comments

          08 Feb 2001 11:06 smorphet

          Re: 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. &lt;g&gt;

          Steve.

          08 Feb 2001 04:14 Avatar stesch

          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. :-(

          18 Jun 2000 15:03 karellen

          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 (members.xoom.com/miscr...) 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.

          Screenshot

          Project Spotlight

          Scid vs. PC

          A chess database application, PGN viewer, and more.

          Screenshot

          Project Spotlight

          Wenity

          A multi-platform Zenity clone.