Branches
Comments
[»]
ANSI has killed the C preprocessor
by Stefan Scholl - Feb 8th 2001 04:14:35
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. :-(
[reply]
[top]
[»]
Re: ANSI has killed the C preprocessor
by Steve Morphet - Feb 8th 2001 11:06:26
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.
[reply]
[top]
[»]
neat tool
by karellen - Jun 18th 2000 15:03:59
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 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.
[reply]
[top]
|