[antlr-interest] options {output=AST;}

Vadim Tropashko vadimtro at yahoo.com
Fri Feb 2 17:15:59 PST 2007


I'm hitting the same bug that Ilia reported in Dec:

org.antlr.Tool complains about unexpected token:
options. However, I don't have any workaround.
Interestingly, antlworks interpreter works fine as
long as "options" follows immediately the "grammar".

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? 
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?  
    


 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php


More information about the antlr-interest mailing list