[antlr-interest] "protected" lexer rules

John D. Mitchell johnm-antlr at non.net
Sun Nov 7 15:17:33 PST 2004


>>>>> "Terence" == Terence Parr <parrt at cs.usfca.edu> writes:
[...]

> Ick.  So, should it be an option or keyword?

Since the concept is fundamental to the nature of those types of rules, I
think it has to be a keyword.

> What would the name be?  I can't even describe it exactly even in two
> words. :(

> "non token"?  "method"?  "macro"?  "internal"?

Their only purpose for existence is to provide a single definition of a
(sub-)structure of (perhaps many) token(s), right?  So, they are really
just "shorthand" (rules).

Take care,
	John



 
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