[antlr-interest] RE: Does tree parser have to export its own token types?

Anakreon Mejdi amejdi at ertonline.gr
Fri Nov 22 04:25:20 PST 2002


Yes.
Yesterday I wrote my first tree parser.
It was far easier then I thought.
Anakreon

Terence Parr wrote:
> On Wednesday, November 20, 2002, at 04:54  AM, Anakreon Mejdi wrote:
> 
> 
>>Something should exist if it is useful not if it doesn't hurt.
>>I have a question related with tokens too.
> 
> 
> At the time you build your grammar you don't know if it will be useful. 
>   If you want a parser to derive from that one, you will need it, right? 
>   Better to generate unnecessary than adding a switch, wouldn't you say?
> 
> Ter
> --
> Co-founder, http://www.jguru.com
> Creator, ANTLR Parser Generator: http://www.antlr.org
> Lecturer in Comp. Sci., University of San Francisco
> 
> 
>  
> 
> 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