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

[lojban] Re: PEG grammar issues



On 6/16/08, Chris Capel <pdf23ds@gmail.com> wrote:
> On Mon, Jun 16, 2008 at 11:34 AM, Jorge Llambías <jjllambias@gmail.com> wrote:
> > On Sun, Jun 15, 2008 at 11:39 PM, Chris Capel <pdf23ds@gmail.com> wrote:
> >> Second, selbri-3 should parse its child selbri-4 into left-associative
> >> groups.
> > The same applies to statement-1, bridi-tail-1 and sumti-2, right?
>
>  No to 'statement-1' because I don't think
> statement-2's really have associativity, so the correct parse tree
> would be flat, and the current parse tree is flat, so it's not broken.

ijeks are left associative:

(broda ije brode) ija brodi

not:

broda ije (brode ija brodi)

To get the latter you need {ijabo}

> Same thing for bridi-tail-1 and sumti-2--do those really have
> associativity? Does it matter which order you interpret the giheks or
> jeks?

In general, yes. In particular cases, for example if you have only
{je}s, or only {ja}s, it doesn't matter.

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.