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

Re: [lojban] On parser extensions.



Robin Lee Powell scripsit:

> xorxes pointed out that "pabi'ipazeva'e" is currently not grammatical,
> whether you shove all the words together or not.  :-)  The reason seems
> to be that the current parsers don't wait long enough, and try to
> interpret things as "le pa bi'i <something>".

The official parser's preparser crawls forward when it sees "pa" on the
assumption that this might be a PA+MOI string, but when it sees "bi'i"
it gives up, because "bi'i" isn't PA.

> My questions are:
> 
> 1.  Did any of you have that kind of trouble parsing this sentence by
> hand?

Yes, although that was exacerbated by not remembering what selma'o "va'e"
belongs to.

> 2.  Does this count as a change to the language, or merely cleaning up
> LR(1) issues?[1]

It would be a change, possibly a worthwhile change but definitely
a change; the separation between PA+MOI and arbitrary mex followed
by MOI was made *necessary* by LALR(1) restrictions, but now subsists
independently of them.  This would be analogous to allowing ".i fi'o broda
brode co brode brodi be lo brodu bei la brod. bo" as a sentence connector.

But anyway, there is now a standard way to say mex+MOI, namely "me li
pabi'ipazeboi va'e".  Either boi or me'u is required here to keep the
preparser quiet.

-- 
MEET US AT POINT ORANGE AT MIDNIGHT BRING YOUR DUCK OR PREPARE TO FACE WUGGUMS
John Cowan   http://www.reutershealth.com   jcowan@reutershealth.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com.  Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GSaulB/TM
---------------------------------------------------------------------~->

To unsubscribe, send mail to lojban-unsubscribe@onelist.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/lojban/

<*> To unsubscribe from this group, send an email to:
     lojban-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/