[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lojban] Re: My parser, SI, SA, and ZOI
--- Robin Lee Powell <rlpowell@digitalkingdom.org> wrote:
> b. If the Lojban word "zo" (selma'o ZO) is identified, treat the
> following Lojban word as a token labelled 'any_word_698', instead of
> lexing it by its normal grammatical function.
>
> So "zoi da de da" is turned into four tokens, "zoi da anything_699 da"
> and "zo da" is turned into the single token "any_word_698".
"zo da" is turned into two tokens "zo any_word_698".
Otherwise, the parser would not know what to do with a
loose "any_word_698"
> It is this behaviour that I am trying to emulate, without being a slave
> to YACC restrictions (which, for example, make it so that "zoi da weeble
> da si si si si" works, but no lesser number of "si" after the zoi have
> any effect.
It's a good thing to get rid of that effect, and your solution
for {si} is not bad, but I think Nora's suggestion is more
parsimonious and extendable to similar problems that occur
with {bu} and {zei}.
mu'o mi'e xorxes
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
- Prev by Date:
[lojban] Re: My parser, SI, SA, and ZOI
- Next by Date:
[lojban] Re: My parser, SI, SA, and ZOI
- Previous by thread:
[lojban] Re: My parser, SI, SA, and ZOI
- Next by thread:
[lojban] Re: My parser, SI, SA, and ZOI
- Index(es):