C/C++ front-end extension a la SWIG?

Daniel Berlin dan@cgsoftware.com
Thu Jun 29 12:28:00 GMT 2000


> 
> Not the version I have here:
> 
>  -rw-r--r--   chiba/parc      38678 openc++-2.3/src/parser.y
> 
> 
> It is still a relatively nice parser (the backtracing via the lexer is not too
> complicated) 

That version is quite a few years old.
Try 2.5.8, just released 6/26

/*
   C++ Parser

   This parser is a LL(k) parser with ad hoc rules such as
   backtracking.

   r<name>() is the grammer rule for a non-terminal <name>.
   opt<name>() is the grammer fule for an optional non-terminal <name>.
   is<name>() looks ahead and returns TRUE if the next symbol is <name>.
*/


> 
> 
> -Andi
> 



More information about the Gcc mailing list