From rlpowell@digitalkingdom.org Sun Nov 07 10:45:30 2004 Received: with ECARTIS (v1.0.0; list lojban-list); Sun, 07 Nov 2004 10:45:30 -0800 (PST) Received: from rlpowell by chain.digitalkingdom.org with local (Exim 4.34) id 1CQs2U-0002TZ-Ej for lojban-list@lojban.org; Sun, 07 Nov 2004 10:45:22 -0800 Date: Sun, 7 Nov 2004 10:45:22 -0800 To: lojban-list@lojban.org Subject: [lojban] Re: Computer grammar question: non-left recursive RPN? Message-ID: <20041107184522.GB18082@chain.digitalkingdom.org> Mail-Followup-To: lojban-list@lojban.org References: <1dfa220e1a.20e1a1dfa2@imap.epfl.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1dfa220e1a.20e1a1dfa2@imap.epfl.ch> User-Agent: Mutt/1.5.6+20040722i From: Robin Lee Powell X-archive-position: 8959 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, Nov 07, 2004 at 12:52:43PM +0100, GREGORY DYKE wrote: > I did a compiler construction course last year. I can no longer > remember how to check whether your solution is correct, I also can > no longer remember how to eliminate left-recursion (but I've got > notes hanging around somewhere, I'll find them for you). > > What I do seem to remember, though is that once we had eliminated > left-recursion, we had to do some trick to retain right-grouping > in the returned abstract tree. Left-grouping, actually. And yeah, that's what I'm looking for. > As I said, I'll check and get back to you. I'd appreciate that very much. Thanks. -Robin -- http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ Reason #237 To Learn Lojban: "Homonyms: Their Grate!" Proud Supporter of the Singularity Institute - http://singinst.org/