[antlr-interest] Re: how useful would a generic grammar "action" language be?
Terence Parr
parrt at cs.usfca.edu
Tue Oct 28 09:58:16 PST 2003
On Tuesday, October 28, 2003, at 09:26 AM, Arnar Birgisson wrote:
>
> How would the user clarify to ANTLR whether he/she is writing their
> actions in the target language, or the abstract action language?
Good point...perhaps options
language="Cpp"; // generate C++
actions="Cpp"; // accept C++ actions
> Having grammars with actions and all (even just the simple ones) would
> be very cool, and it would help out alot when people distribute
> grammars
> and/or use grammars from others. But if the implementation of this
> would
> mean alot of work, is it worth it?
I'll let you know when I get to it ;)
Ter
--
Professor Comp. Sci., University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Co-founder, http://www.jguru.com
Co-founder, http://www.knowspam.net enjoy email again!
Co-founder, http://www.peerscope.com pure link sharing
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list