Projects / Guava / Comments

Comments for Guava

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. <g>

Steve.

08 Feb 2001 04:14 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 (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.

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.