Subject: Re: [lojban] LALR1 question

From: John Cowan <[email-masked]>
Date: Fri, 7 Sep 2001 06:30:24 -0400 (EDT)

Richard Curnow scripsit:

> I guess there's some clever trick being used to workaround this, but
> I've not worked out what it is. Can anyone enlighten me?

In the official parser, the lexer will simply scoop up as many tokens as
it needs to, backtracking if it finds something that doesn't match its
expectations. All these tokens become a single YACC token.

-- 
John Cowan http://www.ccil.org/~cowan [email-masked]
Please leave your values | Check your assumptions. In fact,
at the front desk. | check your assumptions at the door.
--sign in Paris hotel | --Miles Vorkosigan