[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lojban] Re: Official parser problem?



john and Robin:

> > > [2]: Actually, without an extension to PEGs, 'zoi' cannot be 
> handled> > without a pre-processor, and without a re-definition 
> that is at
> > > least marginally sane, 'sa' doesn't even have a working definition
> > > to try to handle.
> > 
> > The definition of "sa" is straightforward: check the selma'o of the
> > next token rightward, and remove tokens leftward until a token 
> of the
> > same selma'o has been removed (in the usual extended sense of
> > "selma'o").
> 
> <blink>
> 
> Oh!
> 
> Heck, I can do that *now*.  I'll fix 'si' first, though.

I would like to suggest another, IMO more usable definition of sa:

check the single word to the right of sa, and remove words leftward until the same word has been removed.

thus: "ti cmalu xunre nixlu ckule sa xunre nanla ckule" is equivalent to:
"ti cmalu xunre nanla ckule"

(a multi sumti bridi with the following word of selma'o LO would be a better example)

what do you think?

Greg