From rlpowell@digitalkingdom.org Sun Mar 28 17:46:09 2004 Received: with ECARTIS (v1.0.0; list lojban-list); Sun, 28 Mar 2004 17:46:09 -0800 (PST) Received: from rlpowell by chain.digitalkingdom.org with local (Exim 4.30) id 1B7lqi-0001Ei-CO for lojban-list@lojban.org; Sun, 28 Mar 2004 17:46:00 -0800 Date: Sun, 28 Mar 2004 17:46:00 -0800 To: lojban-list@lojban.org Subject: [lojban] Re: Official Parser wierdness I have no intention of investigating. Message-ID: <20040329014600.GJ6569@digitalkingdom.org> Mail-Followup-To: lojban-list@lojban.org References: <20040328104136.GA6569@digitalkingdom.org> <20040329014313.GD18719@ccil.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040329014313.GD18719@ccil.org> User-Agent: Mutt/1.5.5.1+cvs20040105i From: Robin Lee Powell X-archive-position: 7379 X-ecartis-version: Ecartis v1.0.0 Sender: lojban-list-bounce@lojban.org Errors-to: lojban-list-bounce@lojban.org X-original-sender: rlpowell@digitalkingdom.org Precedence: bulk Reply-to: lojban-list@lojban.org X-list: lojban-list On Sun, Mar 28, 2004 at 08:43:13PM -0500, John Cowan wrote: > Robin Lee Powell scripsit: > > > The official parser accepts "mi djuno le du'u" with no problems: > > > > 1 terms_80 mi > > 2 selbri_130 djuno > > 3 tail_terms_71 VAU > > 4 bridi_tail_50 2 3 > > 5 text_0 1 4 > > > > Seems rather odd to *me*. > > This is a known problem: if there is a grammar error in the last two > tokens, the yacc skeleton can't cope. Its rule is to skip down three > tokens before attempting error recovery, but instead it sees EOF and > stops parsing, causing the last token or two to be quietly ignored. > Another result of abusing error recovery. Aaaah. It all makes sense. -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