[antlr-interest] Template grammars - argument specifying constructed template
Nikolas Everett
nik9000 at gmail.com
Sat Jan 5 19:41:42 PST 2008
I'm trying to do this:
example[String templateName]
: ^(E (^X A M) P L E) -> ($templateName)(e={$E.text}, m={$M.text))
;
Is there an easy way to do this without some kind of odd hack using
stringtemplate's indirection?
Thanks,
--Nik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080105/1d0e5c9d/attachment.html
More information about the antlr-interest
mailing list