[antlr-interest] Re: "protected" lexer rules

micheal_jor open.zone at virgin.net
Wed Nov 10 09:15:35 PST 2004



--- In antlr-interest at yahoogroups.com, "lgcraymer" <lgc at m...> wrote:
> 
> I would agree.  Really, the basic idea is more that of a syllable that
> may be included in a word.  I'm not too keen on "fragment" either--you
> break things into fragments, you don't build things up from them.

We are discussing rules that are to be used to specify patterns for
matching a part, segment, or fragment of lexical tokens. The complete
lexical token is perhaps not "built" but "assembled" from these
pieces, morsels, tidbits, smidgens, bits or fragments. ;-)

Lubos mentioned sublexeme in a later post in the thread. I liked that
actually but, very few lexical tokens have lexemes - usually only
identifiers and literals. The rules only occasionally define a
sublexeme. What they really define is a fragment of the input that
matches a lexical token.

I still like "fragment" best but, "smidgen" is so HarryPottery and
LordsOfTheRingish ;-)

Micheal
ANTLR/C#






 
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