From cowan@ccil.org Sun Apr 04 22:56:45 2004 Return-Path: X-Sender: cowan@ccil.org X-Apparently-To: lojban@yahoogroups.com Received: (qmail 815 invoked from network); 5 Apr 2004 05:56:44 -0000 Received: from unknown (66.218.66.166) by m16.grp.scd.yahoo.com with QMQP; 5 Apr 2004 05:56:44 -0000 Received: from unknown (HELO mercury.ccil.org) (192.190.237.100) by mta5.grp.scd.yahoo.com with SMTP; 5 Apr 2004 05:56:44 -0000 Received: from cowan by mercury.ccil.org with local (Exim 3.35 #1 (Debian)) id 1BAN35-00008G-00; Mon, 05 Apr 2004 01:53:31 -0400 Date: Mon, 5 Apr 2004 01:53:31 -0400 To: rlpowell@digitalkingdom.org Cc: lojban@yahoogroups.com Message-ID: <20040405055331.GA30565@ccil.org> References: <20040404202610.GI11794@digitalkingdom.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040404202610.GI11794@digitalkingdom.org> User-Agent: Mutt/1.3.28i X-eGroups-Remote-IP: 192.190.237.100 From: John Cowan Subject: Re: [lojban] Bug in official parser and Alice X-Yahoo-Group-Post: member; u=212516 X-Yahoo-Profile: johnwcowan X-Yahoo-Message-Num: 21909 Robin Lee Powell scripsit: > , which is from Alice, is accepted by the official parser, apparently > due to the last-two-tokens bug (it matters very little to me what output > the parser gives, as my script goes on return value). You might do better to wrap the official parser in a little script which compares the output with the input after stripping various kinds of brackets as well as supplied terminators (sed is your friend here) and returns true only if the outputs match. -- John Cowan www.reutershealth.com www.ccil.org/~cowan jcowan@reutershealth.com 'Tis the Linux rebellion / Let coders take their place, The Linux-nationale / Shall Microsoft outpace, We can write better programs / Our CPUs won't stall, So raise the penguin banner of / The Linux-nationale.