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

[lojban] Re: Strange Alice sentence.



On Sat, Jun 19, 2004 at 07:59:53PM -0700, Robin Lee Powell wrote:
> On Sat, Jun 19, 2004 at 07:57:21PM -0700, Robin Lee Powell wrote:
> > A different case (simplified):
> > 
> >     broda sei abu to broda
> > 
> > Again, jbofihe and the official parser choke on this.
> 
> Ah, I see the problem: sei can't contain to...toi, so the sei has no
> selbri.
> 
> xorxes, that's a bug in Alice.

Oh, no, my bad.

A SEI clause is (in PEG):

SEI free* (terms (CU free*)?)? selbri SEhU?

One of the options for 'free' is a TO clause, so it works out just fine
in the end.  That kind of look-ahead can't be done it LR(1), though.

This episode of Thinking Out Loud Theatre has been brought to you by
I Ate Too Much Sugar Today Productions, Ltd.

-Robin

-- 
http://www.digitalkingdom.org/~rlpowell/  ***  I'm a *male* Robin.
"Many philosophical problems are caused by such things as the simple
inability to shut up." -- David Stove, liberally paraphrased.
http://www.lojban.org/  ***  loi pimlu na srana .i ti rokci morsi