[antlr-interest] options {output=AST;}
Terence Parr
parrt at cs.usfca.edu
Fri Feb 2 21:01:14 PST 2007
On Feb 2, 2007, at 5:15 PM, Vadim Tropashko wrote:
> Questions:
> 1. If there are only 2 output values: "AST" together
> with "template", and "template" is some new feature,
> wouldn't AST generation assumed to be default?
Hi. can only output template or ASt.
> 2. Since interpreter and debugger output AST tree
> without any options setting, I assume there is a way
> to get AST programmatically without setting
> output=AST?
You can get a parse tree not an AST, which is what th edebugger can
do automatically. See the debug interface to get the parse tree.
Ter
More information about the antlr-interest
mailing list