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

[lojban] Further Parser Confusion



Parsing an example sentence:

    rlpowell@chain.digitalkingdom.org> echo "le broda .i je klama" | parser -h -t

    3;0;00moi ke lojbo genturfa'i
    Copyright 1991,1992,1993 The Logical Languages Group, Inc.  All Rights
    Reserved
    1               la
    2       cmene_404       djan
    3       terms_80        1       2
    4       VAU     VAU
    5       paragraph_10    3       4
    6       I       i
    7       JA      je
    8               7
    9       I_819   6       8
    10      selbri_130      klama
    11      tail_terms_71   VAU
    12      paragraph_A_11  10      11
    13      text_0  5       9       12
    Space used: 5600 bytes for tokens, 100 bytes for strings
    Time used: 0 seconds

Note lines 9, where it eats I_819.  This eventually becaumes I_root_956,
which as I've already pointed out *erroneously* eats ijeks.

So I'm kind of stuck here: that sentence may or may not be parseable,
but I don't think it is under the current grammar, because only
paragraph_10 calls 'fragment', and only 'fragment' can eat "le broda" by
itself as a sentence.

Note that fixing the I_root_956 bug (by making /*TRY(I_root_956_2);*/
in lexrulek.c) causes this sentence to fail to parse.

-Robin

-- 
Me: http://www.digitalkingdom.org/~rlpowell/  ***   I'm a *male* Robin.
"Constant neocortex override is the only thing that stops us all
from running out and eating all the cookies."  -- Eliezer Yudkowsky
http://www.lojban.org/             ***              .i cimo'o prali .ui