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

[lojban] Re: Annotated PEG grammar



> http://pdf23ds.net/lojban/Annotated%20Grammar.html

>>paragraph <- (statement / fragment) (I !jek !joik !joik-jek free* (statement / fragment)?)*
>>
>>Jeks and joiks are disallowed after the I clause because to match them here would give them lower precedence than they actually have.

There ae three problems with that:

(1) As Stephen points ot, "!jek !joik" duplicates "!joik-jek".

(2) Putting the restriction in front of "free*" makes no sense,
because that would mean that for example ".i je broda" is blocked, but
".i pamai je broda" is allowed. That makes no sense.

(3) In fact "!jek !joik !joik-jek" is just wrong here, even if placed
after "free*". It's true that we don't want this pat of the rule to
grab "i je broda" because of precedence, but there is no danger of
that happening because "statement" will already have grabed them. On
the other hand, this rule is blocking things like "broda .i joi gi da
gi de brode" for no apparent reason.  (While "broda .i pa mai joi gi
da gi de brode" is accepted!)

Conclusion: we must get rid of that "!jek !joik !joik-jek", or else
explain better what it is doing there.

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.