[antlr-interest] Re: upper, lower case for tokens, rule names
    micheal_jor 
    open.zone at virgin.net
       
    Fri Jul 18 13:12:11 PDT 2003
    
    
  
> Ter--
> 
> I prefer the 
> current approach, not only for visual effect (which is pretty 
> important--highlighting is not an option for black-and-white text) 
but 
> for catching rules moved from one type of grammar (lexer, parser, 
tree 
> walker) to another.
I also think the present UpperCase or lowerCase case distinction 
should be preserved. 
It is simple and non-intrusive, it prevents accidental 
copying/pasting of rules from lexer to parser/treewalker (as Loring 
pointed out) and, the issue about method naming in the generated 
parsers can be resolved with a rulename-to-methodname transformation 
in ANTLR 3.
Micheal
 
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
    
    
More information about the antlr-interest
mailing list