From lojbab@lojban.org Tue Mar 30 07:42:02 2004 Return-Path: X-Sender: lojbab@lojban.org X-Apparently-To: lojban@yahoogroups.com Received: (qmail 57178 invoked from network); 30 Mar 2004 15:35:04 -0000 Received: from unknown (66.218.66.217) by m3.grp.scd.yahoo.com with QMQP; 30 Mar 2004 15:35:04 -0000 Received: from unknown (HELO lakemtao02.cox.net) (68.1.17.243) by mta2.grp.scd.yahoo.com with SMTP; 30 Mar 2004 15:35:04 -0000 Received: from bob.lojban.org ([68.228.12.146]) by lakemtao02.cox.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with ESMTP id <20040330153411.TDSW13694.lakemtao02.cox.net@bob.lojban.org> for ; Tue, 30 Mar 2004 10:34:11 -0500 Message-Id: <5.2.0.9.0.20040330103207.03075ec0@pop.east.cox.net> X-Sender: lojbab@pop.east.cox.net X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Tue, 30 Mar 2004 10:37:03 -0500 To: lojban@yahoogroups.com In-Reply-To: <20040330032550.GB6569@digitalkingdom.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-eGroups-Remote-IP: 68.1.17.243 From: Bob LeChevalier Subject: Re: [lojban] Just Bizarre (offical parser stuff) X-Yahoo-Group-Post: member; u=1120595 X-Yahoo-Profile: lojbab X-Yahoo-Message-Num: 21879 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 KEI} ku) (le {nu >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