From rlpowell@digitalkingdom.org Mon Aug 27 11:17:16 2001 Return-Path: X-Sender: rlpowell@digitalkingdom.org X-Apparently-To: lojban@yahoogroups.com Received: (EGP: mail-7_3_2); 27 Aug 2001 18:17:14 -0000 Received: (qmail 73674 invoked from network); 27 Aug 2001 17:55:12 -0000 Received: from unknown (10.1.10.26) by m8.onelist.org with QMQP; 27 Aug 2001 17:55:12 -0000 Received: from unknown (HELO chain.digitalkingdom.org) (64.169.75.101) by mta1 with SMTP; 27 Aug 2001 17:55:11 -0000 Received: from rlpowell by chain.digitalkingdom.org with local (Exim 3.32 #1 (Debian)) id 15bQbO-0007Ap-00 for ; Mon, 27 Aug 2001 10:55:10 -0700 Date: Mon, 27 Aug 2001 10:55:10 -0700 To: lojban@yahoogroups.com Subject: Re: [lojban] LALR1 question Message-ID: <20010827105510.E26365@digitalkingdom.org> Mail-Followup-To: lojban@yahoogroups.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.20i From: Robin Lee Powell X-Yahoo-Message-Num: 10166 On Mon, Aug 27, 2001 at 11:17:55AM -0600, Jay Kominek wrote: > The action that you want, in this case, is for the parser to reduce > (instead of shift), and turn the current stack contents (le (broda)) > into a sumti. Then it will reexamine joi and decide that it will be > connecting two sumti instead of two selbri. (However, YACC always > shifts instead of reducing if there is a conflict.) Please tell me that the YACC grammar has no shift/reduce conflicts. Please? Great explanation, btw. -Robin -- http://www.digitalkingdom.org/~rlpowell/ BTW, I'm male, honest. le datni cu djica le nu zifre .iku'i .oi le so'e datni cu to'e te pilno je xlali -- RLP http://www.lojban.org/