From jjllambias2000@yahoo.com.ar Fri May 07 13:50:39 2004 Received: with ECARTIS (v1.0.0; list lojban-list); Fri, 07 May 2004 13:50:39 -0700 (PDT) Received: from web41907.mail.yahoo.com ([66.218.93.158]) by chain.digitalkingdom.org with smtp (Exim 4.31) id 1BMCIi-00007q-Db for lojban-list@lojban.org; Fri, 07 May 2004 13:50:32 -0700 Message-ID: <20040507205000.22735.qmail@web41907.mail.yahoo.com> Received: from [200.49.74.2] by web41907.mail.yahoo.com via HTTP; Fri, 07 May 2004 13:50:00 PDT Date: Fri, 7 May 2004 13:50:00 -0700 (PDT) From: Jorge "Llambías" Subject: [lojban] Re: My parser, SI, SA, and ZOI To: lojban-list@lojban.org In-Reply-To: <20040507204023.GA27947@digitalkingdom.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-archive-position: 7687 X-ecartis-version: Ecartis v1.0.0 Sender: lojban-list-bounce@lojban.org Errors-to: lojban-list-bounce@lojban.org X-original-sender: jjllambias2000@yahoo.com.ar Precedence: bulk Reply-to: lojban-list@lojban.org X-list: lojban-list --- Robin Lee Powell wrote: > b. If the Lojban word "zo" (selma'o ZO) is identified, treat the > following Lojban word as a token labelled 'any_word_698', instead of > lexing it by its normal grammatical function. > > So "zoi da de da" is turned into four tokens, "zoi da anything_699 da" > and "zo da" is turned into the single token "any_word_698". "zo da" is turned into two tokens "zo any_word_698". Otherwise, the parser would not know what to do with a loose "any_word_698" > It is this behaviour that I am trying to emulate, without being a slave > to YACC restrictions (which, for example, make it so that "zoi da weeble > da si si si si" works, but no lesser number of "si" after the zoi have > any effect. It's a good thing to get rid of that effect, and your solution for {si} is not bad, but I think Nora's suggestion is more parsimonious and extendable to similar problems that occur with {bu} and {zei}. mu'o mi'e xorxes __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover