From lojban+bncCNSZ3eHoCBDLpJPxBBoE2TXYUA@googlegroups.com Mon Jul 18 17:45:51 2011 Received: from mail-vx0-f189.google.com ([209.85.220.189]) by chain.digitalkingdom.org with esmtp (Exim 4.72) (envelope-from ) id 1QiyNm-0003Yl-Tg; Mon, 18 Jul 2011 17:44:56 -0700 Received: by vxg38 with SMTP id 38sf2432810vxg.16 for ; Mon, 18 Jul 2011 17:39:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:in-reply-to:references:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type :content-transfer-encoding; bh=ywYQXXkRAbWClYy4sXwQLwSTjVjoywYWdrNfCTkYg98=; b=wQmkybAeFOAV1BUCgrHq7ALgAdaDVCzDvHly9sykwrAeBal06QLHBnq3k/zvjb4Lg8 iK1yz9q0rzyAyz+61fZ4sX8hbO1tUu7buNjdEmtb5kRDCGNMqVbUBGZMrDKdDBOCM49D W8WRKwsJtcK/0wvbSqtnbQVyuB9rpAwDJ9d2k= Received: by 10.220.108.203 with SMTP id g11mr596866vcp.16.1311035979593; Mon, 18 Jul 2011 17:39:39 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 10.52.96.197 with SMTP id du5ls1491771vdb.1.gmail; Mon, 18 Jul 2011 17:39:38 -0700 (PDT) Received: by 10.52.73.196 with SMTP id n4mr487616vdv.19.1311035978669; Mon, 18 Jul 2011 17:39:38 -0700 (PDT) Received: by 10.52.73.196 with SMTP id n4mr487615vdv.19.1311035978657; Mon, 18 Jul 2011 17:39:38 -0700 (PDT) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by gmr-mx.google.com with ESMTPS id dp3si3828372vdb.3.2011.07.18.17.39.38 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 18 Jul 2011 17:39:38 -0700 (PDT) Received-SPF: pass (google.com: domain of frankdmartinez@gmail.com designates 209.85.216.182 as permitted sender) client-ip=209.85.216.182; Received: by qyk38 with SMTP id 38so2208931qyk.20 for ; Mon, 18 Jul 2011 17:39:38 -0700 (PDT) Received: by 10.229.127.144 with SMTP id g16mr732887qcs.13.1311035978208; Mon, 18 Jul 2011 17:39:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.23.15 with HTTP; Mon, 18 Jul 2011 17:38:58 -0700 (PDT) In-Reply-To: <20110718165622.GE18524@digitalkingdom.org> References: <20110717171041.GA46784@alice.local> <20110717171248.GB46784@alice.local> <20110718165622.GE18524@digitalkingdom.org> From: Frank Date: Mon, 18 Jul 2011 20:38:58 -0400 Message-ID: Subject: Re: [lojban] Yet another PEG question ... To: lojban@googlegroups.com X-Original-Sender: frankdmartinez@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of frankdmartinez@gmail.com designates 209.85.216.182 as permitted sender) smtp.mail=frankdmartinez@gmail.com; dkim=pass (test mode) header.i=@gmail.com Reply-To: lojban@googlegroups.com Precedence: list Mailing-list: list lojban@googlegroups.com; contact lojban+owners@googlegroups.com List-ID: X-Google-Group-Id: 1004133512417 List-Post: , List-Help: , List-Archive: Sender: lojban@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable ki'e .i What of "rp-expression-tail <- rp-expression operator rp-expression-tail / ()"? The '()' seems to be superfluous, yes? On 18 July 2011 12:56, Robin Lee Powell wrote= : > That's ZOI stuff; that's actual variables for Java code; see > rats/lojban.java > > ZOI cannot be handled by straight PEG or CFG; it requires code hooks > or a true CSG as far as we can tell. > > -Robin > > On Mon, Jul 18, 2011 at 10:02:45AM -0400, Frank wrote: >> I also see "innerWordSEP2" and "innerWordSEP3" in the grammar file >> and not in the morphology one but do not seem to be able to find a >> definition. What are these terms, if Anyone remembers? (I know how >> easy it can be to code something and then forget why One did >> that.) >> >> mi'e xuinkrbin. >> >> On 17 July 2011 13:12, .alyn.post. wrot= e: >> > On Sun, Jul 17, 2011 at 11:10:41AM -0600, .alyn.post. wrote: >> >> On Sun, Jul 17, 2011 at 01:41:26PM -0300, Jorge Llamb=EDas wrote: >> >> > On Sun, Jul 17, 2011 at 12:44 PM, Frank = wrote: >> >> > > =A0 =A0 =A0 =A0NORATS CMAVO-word-pre <- " CMAVO=3D( " >> >> > > =A0 =A0 =A0 =A0NORATS CMAVO <- CMAVO-word-pre inner-word close-pa= ren >> >> > > /If/, and this is a big 'if', I understand correctly, such lines = mean >> >> > > a parser attempting to find a cmavo in a portion of lojban text s= hould >> >> > > look for (literal) "CMAVO=3D(" followed by some other text follow= ed by a >> >> > > literal ")", which would suggest some form of pre-interpretation = of >> >> > > said lojban text before parsing. But how could such be? Would not= the >> >> > > purpose of the parser be to perform such interpretation? >> >> > >> >> > In his implementation of the PEG, Robin divided the grammar into tw= o >> >> > stages, morphology and syntax. The output of the morphology stage >> >> > produced something containing such things as "CMAVO=3D( da )" and t= hen >> >> > the syntax part worked with that output. There's no need to do this >> >> > other than resolving some practical concern of that implementation. >> >> > The official PEG (when we have it) should not have such things. >> >> > >> >> >> >> jbgenturfa'i does not include these productions, and instead "more >> >> directly" interfaces with the morphology by treating the morphology >> >> and grammar as a single PEG grammar. =A0The behavior above was so >> >> Robin and xorxes could work and debug together; and perhaps for >> >> other reasons. =A0Exactly as xorxes said, they aren't needed and are >> >> an artifact of camxes. >> >> >> >> Will you talk a little about what you're doing? =A0So far your >> >> questions are exactly the ones I asked, when I started using camxes, >> >> and the answers I got then are now included in jbogenturfa'i. >> >> >> > >> > I'm sorry, I was reading my e-mail in reverse order, and I see you >> > have answered this question. >> > >> > -Alan >> > -- >> > .i ma'a lo bradi cu penmi gi'e du >> > >> > -- >> > You received this message because you are subscribed to the Google Gro= ups "lojban" group. >> > To post to this group, send email to lojban@googlegroups.com. >> > To unsubscribe from this group, send email to lojban+unsubscribe@googl= egroups.com. >> > For more options, visit this group at http://groups.google.com/group/l= ojban?hl=3Den. >> > >> > >> >> -- >> You received this message because you are subscribed to the Google Group= s "lojban" group. >> To post to this group, send email to lojban@googlegroups.com. >> To unsubscribe from this group, send email to lojban+unsubscribe@googleg= roups.com. >> For more options, visit this group at http://groups.google.com/group/loj= ban?hl=3Den. >> > > -- > http://singinst.org/ : =A0Our last, best hope for a fantastic future. > Lojban (http://www.lojban.org/): The language in which "this parrot > is dead" is "ti poi spitaki cu morsi", but "this sentence is false" > is "na nei". =A0 My personal page: http://www.digitalkingdom.org/rlp/ > > -- > You received this message because you are subscribed to the Google Groups= "lojban" group. > To post to this group, send email to lojban@googlegroups.com. > To unsubscribe from this group, send email to lojban+unsubscribe@googlegr= oups.com. > For more options, visit this group at http://groups.google.com/group/lojb= an?hl=3Den. > > --=20 You received this message because you are subscribed to the Google Groups "= lojban" group. To post to this group, send email to lojban@googlegroups.com. To unsubscribe from this group, send email to lojban+unsubscribe@googlegrou= ps.com. For more options, visit this group at http://groups.google.com/group/lojban= ?hl=3Den.