C/C++ front-end extension a la SWIG?
Daniel Berlin
dan@cgsoftware.com
Thu Jun 29 12:22:00 GMT 2000
>
> OpenC++ and the Tendra C++ frontend look reasonably clean (the later is writen
> using a strange lexer/parser generator though) OpenC++ uses a bison parser, but
> it seems to use much less hacks than the g++ frontend to parse the difficult
> parts in C++'s syntax.
>
> Both do not parse all g++ language extensions.
>
Um, what?
OpenC++ uses a hand coded, very nice, LL(k) (k= mostly 1, occasionally
2) C++ parser.
It's acutally a great example of how to hand code a C++ parser.
TEndra uses their own parser generateor, which is very difficult to
understand.
>
> -Andi
>
More information about the Gcc
mailing list