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

Re: [lojban] Just Bizarre (offical parser stuff)



At 07:25 PM 3/29/04 -0800, Robin Lee Powell wrote:
>$ echo "mi troci le nu bapli le za'i le kagni poi ponse le skami pe la 
>duramater ku ku ku le nu cpacu la paitn" | parser
>3;0;00moi ke lojbo genturfa'i
>Copyright 1991,1992,1993 The Logical Languages Group, Inc.  All Rights
>Reserved
>(mi {troci <[(le {nu <bapli VAU> KEI} ku) (le {nu <cpacu [(la paitn) VAU]> 
>KEI} KU)] VAU>})
>
>
>That's just *wierd*.  It ate like 80% of the sentence without a trace.

I don't know why the stuff disappeared, but the sentence is ungrammatical 
(and the YACC parser has never been good at telling people why something is 
bad - it just tries to recover; the 2.33 parser was somewhat more robust at 
this than the 3.0 parser, as I recall).  When something weird happens, I 
break it into pieces, and in this case it was easy to find a problem.

The le za'i abstraction has no selbri that I can tell; the third ku 
terminates it and probably confuses the parser.


-- 
lojbab                                             lojbab@lojban.org
Bob LeChevalier, Founder, The Logical Language Group
(Opinions are my own; I do not speak for the organization.)
Artificial language Loglan/Lojban:                 http://www.lojban.org




------------------------ 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/