This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: New C++ Parser
>>>>> Mark Mitchell <mark@codesourcery.com>:
>>>>> "Robert" == Robert Dewar <dewar@gnat.com> writes:
>> Mark, just to clarify, when you say "recursive descent" parser, do
>> you mean a hand written parser, or a table driven LL1 grammar
>> parser. I am just assuming the first, but some of the questions
>> about "reusing the grammar" puzzled me.
> I mean a hand-written parser.
Have you given ANTLR2 a look?
<http://www.antlr.org/>
I have used its predecessor PCCTS a lot, and have been quite happy
with it (even though the C++ it generates is pretty old and clumsy by
today's standards (adapted to the strangenesses of older compilers)).