[antlr-interest] Tree grammar -> string template
Bill Andersen
andersen at ontologyworks.com
Thu Jun 4 11:09:20 PDT 2009
Folks,
Sorry if this question is naive, but I'm at the end of my rope...
I have a tree grammar with template output, a fragment of which looks
like
foo
: ^(TOK arg+)
-> pat( args=... )
and a string template pattern
pat(args) ::= "function(<args; separator=", ">)"
The question is, what should I write in the tree grammar in place of
'...'? Can't seem to glean this from the string template
documentation
Bill Andersen
Ontology Works, Inc. (www.ontologyworks.com)
3600 O'Donnell Street, Suite 600
Baltimore, MD 21224
Office: +1.410.675.1201
Cell: +1.443.858.6444
Fax: +1.410.675.1204
More information about the antlr-interest
mailing list