|Compiler Tool with Error Recovery email@example.com (Julian Mensch) (2009-02-12)|
|Re: Compiler Tool with Error Recovery firstname.lastname@example.org (2009-02-14)|
|Re: Compiler Tool with Error Recovery email@example.com (Vladimir Makarov) (2009-02-17)|
|Re: Compiler Tool with Error Recovery firstname.lastname@example.org (Johannes) (2009-02-19)|
|Re: Compiler Tool with Error Recovery email@example.com (Julian Mensch) (2009-02-21)|
|Re: Compiler Tool with Error Recovery firstname.lastname@example.org (Bill Cox) (2009-02-25)|
|From:||Julian Mensch <email@example.com>|
|Date:||Sat, 21 Feb 2009 18:02:25 -0800 (PST)|
|Keywords:||tools, summary, C++, PCCTS|
|Posted-Date:||22 Feb 2009 04:28:34 EST|
I want to thank everyone who replied here with information. I've
looked at all the alternatives, and am currently testing out
ANTLR. The level of support, discussion and features there is simply
amazing, for a tool of this type. It's a shame about the C++ target,
but the C one should work fine. It has several example grammars that
will substantially increase the speed of my work, so that's a definite
plus as well.
I wasn't very clear in my original post about context objects. What
I meant is the ability to use different kinds of C++ objects as the
action attribute (YYSTYPE, IIRC). This includes objects with
constructors, which can't be put into the union many parsers use to
define YYSTYPE. I believe ANTLR does this, but I'm not sure if the C
target does. I'll need to investigate that.
I'm going to try and make ANTLR work at this point regardless, I
think, because it has an active mailing list for support, the
aforementioned example grammars, a nice readable, flexible syntax and
more features than I've ever seen from a tool like this.
Again, thanks to everyone who offered alternatives here.
Return to the
Search the comp.compilers archives again.