[antlr-interest] query
Terence Parr
parrt at cs.usfca.edu
Sun Oct 23 10:16:15 PDT 2005
On Oct 23, 2005, at 6:32 AM, Desai Nishitkumar Ashokkumar wrote:
> Hello sir,
> I m doing M.Tech at IIT bombay, India. My project is on re-
> engineering from procedural to object oriented program. And I am
> trying to apply that on linux kernel. Currently I am trying to make
> any c code compilable by c++ code. I am using GNU C grammar given
> in ANTLR grammars.
> My doubt is is Preprocessing done by ANTLR or is there any option
> to do that. and can I apply tool (translation tool) to entire
> project directory such that tool itself take care of #include and
> #define statement ??
Hi Nishit,
You need to run the preprocessor manually I'd say. /lib/cpp or an
option on gcc.
Ter
More information about the antlr-interest
mailing list