This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C/C++ front-end extension a la SWIG?
- To: Andi Kleen <ak at suse dot de>
- Subject: Re: C/C++ front-end extension a la SWIG?
- From: Daniel Berlin <dan at cgsoftware dot com>
- Date: Thu, 29 Jun 2000 12:28:12 -0700 (PDT)
- cc: thi <ttn at revel dot glug dot org>, gcc at gcc dot gnu dot org
>
> 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
>