[antlr-interest] how useful would a generic grammar "action" language be?

Matthew Ford Matthew.Ford at forward.com.au
Mon Oct 27 16:25:19 PST 2003


Hi All,
I personally only output to one language Java and I would find writing
method code like

declare(name="t", type="int")
assign(lhs="t", rhs="3+4)
functioncall(name="foo", args="t")

obtuse.

matthew

----- Original Message ----- 
From: "Terence Parr" <parrt at cs.usfca.edu>
To: <antlr-interest at yahoogroups.com>
Sent: Tuesday, October 28, 2003 11:07 AM
Subject: [antlr-interest] how useful would a generic grammar "action"
language be?


> Howdy,
>
> Just added a blog entry about a generic action grammar language to
> support reuse of grammars even when they have (simple) actions:
>
> http://www.antlr.org/blog/antlr3/codegen.tml
>
> Is the idea a useful line of research?  I'll have the intermediate form
> underneath the covers anyway...
>
> 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/
>
>


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list