[antlr-interest] "protected" lexer rules

Terence Parr parrt at cs.usfca.edu
Mon Nov 8 09:17:55 PST 2004



On Nov 7, 2004, at 8:47 PM, John B. Brodie wrote:

>
> On Sun, 07 Nov 2004 15:47:57, John D. Mitchell wrote:
>>> perhaps there is a different "section"; one for regular rules and 
>>> then
>>> one for these shared rules?
>>
>> Naw, I prefer to have the helper rules next to the rule that they 
>> help.
>

> auxiliary

That ain't bad 'cept it's hard to spell!  Perhaps "aux"?

Ter

>
> auxrule
> aux-rule
> aux_rule
>
> At this time I believe I prefer the keyword `sub-rule`. But perhaps 
> having
> a hyphen inside a keyword might be bothersome to some people...

Per my previous email, "subrule" ain't sounding too bad!

Ter
--
CS Professor & Grad Director, University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com
Cofounder, http://www.knowspam.net enjoy email again!





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list