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

Re: [jbovlaste] berbere, berberi



On Sat, Jan 26, 2013 at 8:25 PM, John Cowan <cowan@mercury.ccil.org> wrote:
> Jorge Llambías scripsit:
>
>> Whatever issues you may have with the PEG grammar for Lojban (and I
>> can think of some) they cannot be about potential ambiguities, it
>> can't have any.
>
> My point is that a PEG grammar processor does not detect LALR-n-ambiguity
> in the grammar, which is not its business.  YACC does detect LALR-1-ambiguity.

Lojban cannot be parsed with finite lookahead anyway, especially its
morphology. You can't determine what kind of word you are parsing
before reaching the end of the word, and words don't have a finite
maximum length. Since we don't need to detect LALR-n-ambiguity anyway,
why would this limitation of a PEG make it not good enough to parse
the Lojban morphology?

mu'o mi'e xorxes

_______________________________________________
jbovlaste mailing list
jbovlaste@lojban.org
http://mail.lojban.org/mailman/listinfo/jbovlaste