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

Re: [lojban] Official parser wierdness.



Robin Lee Powell scripsit:
> The official parser accepts this sentence:
> 
> >>> zoi  me  se  ba  ve'o  nu'i  mo'o  me  to'i  ba'e
> ({<zoi me [se ba ve'o nu'i mo'o] me> <to'i /FA'O/ TOI>} VAU)
> 
> What's interesting to note is that it never seems to see the ba'e,
> which is what should result in the bad parse.

Yes.  Sometimes the official parser just gives up and doesn't look at
any more incoming tokens.  I have no idea why -- it's a very long-standing bug.
It probably has something to do with yacc error recovery.

-- 
John Cowan  jcowan@reutershealth.com  www.ccil.org/~cowan  www.reutershealth.com
"If I have seen farther than others, it is because I am surrounded by dwarves."
        --Murray Gell-Mann