From rlpowell@digitalkingdom.org Mon May 10 10:55:31 2004 Received: with ECARTIS (v1.0.0; list lojban-list); Mon, 10 May 2004 10:55:31 -0700 (PDT) Received: from rlpowell by chain.digitalkingdom.org with local (Exim 4.31) id 1BNEzk-0005Cr-Rl for lojban-list@lojban.org; Mon, 10 May 2004 10:55:17 -0700 Date: Mon, 10 May 2004 10:55:16 -0700 To: lojban-list@lojban.org Subject: [lojban] Re: My parser, SI, SA, and ZOI Message-ID: <20040510175516.GC5570@digitalkingdom.org> Mail-Followup-To: lojban-list@lojban.org References: <20040510172128.GY5570@digitalkingdom.org> <20040510174730.89881.qmail@web41906.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040510174730.89881.qmail@web41906.mail.yahoo.com> User-Agent: Mutt/1.5.5.1+cvs20040105i From: Robin Lee Powell X-archive-position: 7745 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 Mon, May 10, 2004 at 10:47:30AM -0700, Jorge Llamb?as wrote: > > --- Robin Lee Powell wrote: > > Unfortunately, this doesn't help with things like "zo broda zei > > broda", but I'm inclined to say that that's illegal because ZO acts > > first, leaving " zei broda", and a quote is not a single > > word. > > It is clear that {zo broda zei broda} is illegal with the current > grammar, though not exactly for the reason you say. Of course. Again, though, I'm not aiming for bug-for-bug compatibility with the current grammar. > {zei} grabs the previous _token_ In the YACC grammar, yes, but that's not the word's definition: zei ZEI lujvo glue joins preceding and following words into a lujvo > and binds it to the next to deliver a > brivla, so you end up with ZO BRIVLA which is illegal. Only ZO > any_word_698 is valid. {zo broda si brode} fails for the same reason. > {si} erases any_word_698 leaving ZO BRIVLA, which is illegal. I think > that if you fix one you should fix the other as well. OK, so what would you say that "zo broda zei broda" is, then? I certainly don't know. If I had to pick one, I would say that it's "(zo broda) zei broda"; i.e. "'broda' type of broda". > {da zei de bu} is legal: first {da zei de} delivers BRIVLA, and then > {BRIVLA BU} delivers BY. Good point, but not terribly helpful for the ZO + ZEI case that I can see. > > Opinions on that issue welcome, but it seems pretty clear that ZEI > > only acts on single words, and quotes are not single words. > > ZEI acts on single tokens, doesn't it? If one is using the concept of tokens, I suppose it does, yes. -Robin -- http://www.digitalkingdom.org/~rlpowell/ *** I'm a *male* Robin. "Many philosophical problems are caused by such things as the simple inability to shut up." -- David Stove, liberally paraphrased. http://www.lojban.org/ *** loi pimlu na srana .i ti rokci morsi