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

[lojban] Re: PEG grammar issues



On 6/17/08, Chris Capel <pdf23ds@gmail.com> wrote:

> Are ijabos right associative with each other?
>
> broda ijabo (brode ijabo brodi)?

Yes. (With two {ija} it makes no difference though, you need to
mix {ija} with {ije} for example to get different meanings.)

> Oh, here's another one: the NU-clause option of tanru-unit-2. Does
> that need associativity?

Probably, but since it's a construction that nobody ever uses (and
hopefully nobody ever will) it doesn't matter.

> Or what about terms-1 or selbri-4 (or tag)?

Yes, they are all left-asssoc.

> Oh, here's another weirdness thing (indented for clarity):
>
> statement-2 <-
>   statement-3 (I-clause (jek / joik)? stag? BO-clause free* statement-2)? /
>   statement-3 (I-clause (jek / joik)? stag? BO-clause free*)?
>
> Isn't that identical to
>
> statement-2 <- statement-3 (I-clause (jek / joik)? stag? BO-clause
> free* statement-2?)?
>
> It'd be nice to simplify.

Yes. I think there are some other slightly weird points. If I remember
correctly,
one rule has an unreachable part.

mu'o mi'e xorxes


To unsubscribe from this list, send mail to lojban-list-request@lojban.org
with the subject unsubscribe, or go to http://www.lojban.org/lsg2/, or if
you're really stuck, send mail to secretary@lojban.org for help.