[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lojban] Re: Annotated PEG grammar
On Sun, Nov 16, 2008 at 5:47 PM, Chris Capel <pdf23ds@gmail.com> wrote:
>>>>> bridi-tail-1 <- bridi-tail-1 gihek !(tag? BO) !(tag? KE) free* bridi-tail-2 tail-terms / bridi-tail-2
>
> The BO (by which I mean tag? BO) is going to be after the gihek in any
> case, not at the beginning of the production. The beginning of the
> stuff inside the latter part of the gihek, you mean?
I mean that bridi-tail-1 will not match "broda gi'e bo brode" other
than as a bridi-tail-2. The !BO does nothing.
The first part already fails because "bo brode" is not a possible
bridi-tail-2, the !BO is unnecessary.
> The !BO keeps "broda gi'e bo brode" from matching the first option of
> bridi-tail-1, instead matching the optional part of bridi-tail-2
But it wouldn't match the first option even without !BO, that's my point.
>>> In which case the only question is whether the !KE is
>>> superfluous.
>>
>> I suspect it's simply wrong, in order to get the right precedences.
>> But in an case, if it belongs there at all, it must go after free*,
>> not before.
>
> But what would removing the !KE do? Would it fix it?
I think so, yes.
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.