From lojban+bncCK30vq5WELzMkfEEGgSGcft7@googlegroups.com Mon Jul 18 10:04:21 2011 Received: from mail-pv0-f189.google.com ([74.125.83.189]) by chain.digitalkingdom.org with esmtp (Exim 4.72) (envelope-from ) id 1QirBb-0006UB-Nt; Mon, 18 Jul 2011 10:03:24 -0700 Received: by pvc22 with SMTP id 22sf5051541pvc.16 for ; Mon, 18 Jul 2011 09:58:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:date:from:to:subject:message-id:references :mime-version:in-reply-to:user-agent: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-disposition :content-transfer-encoding; bh=aCo/fGXFp26XHH8WYs3jsGXo/+2yAgcINWkrxfkLizY=; b=RaUcYwVBU0CISOgvamgX1l4+TtW44HijmEwFxOqMT12MmVdmE2yUoHAggmpNyPCaGh yBwSrudt3UBJpv0V21oqIz2tcKZ7WXvpP7rgkW+QDs+a2doeoaeZ1bsnJl5bWAWpv77w xd1ZATBytmZgXC3Zk5s9uCcRKk462Vh5yY6jY= Received: by 10.142.149.32 with SMTP id w32mr1586208wfd.24.1311008316626; Mon, 18 Jul 2011 09:58:36 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 10.68.0.233 with SMTP id 9ls3847559pbh.3.gmail; Mon, 18 Jul 2011 09:58:35 -0700 (PDT) Received: by 10.68.42.69 with SMTP id m5mr1685389pbl.6.1311008315647; Mon, 18 Jul 2011 09:58:35 -0700 (PDT) Received: by 10.68.42.69 with SMTP id m5mr1685388pbl.6.1311008315635; Mon, 18 Jul 2011 09:58:35 -0700 (PDT) Received: from chain.digitalkingdom.org (digitalkingdom.org [173.13.139.234]) by gmr-mx.google.com with ESMTPS id a1si6841109pbs.1.2011.07.18.09.58.34 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 18 Jul 2011 09:58:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of rlpowell@digitalkingdom.org designates 173.13.139.234 as permitted sender) client-ip=173.13.139.234; Received: from rlpowell by chain.digitalkingdom.org with local (Exim 4.72) (envelope-from ) id 1Qir7G-0006Ta-TQ for lojban@googlegroups.com; Mon, 18 Jul 2011 09:57:18 -0700 Date: Mon, 18 Jul 2011 09:56:22 -0700 From: Robin Lee Powell To: lojban@googlegroups.com Subject: Re: [lojban] Yet another PEG question ... Message-ID: <20110718165622.GE18524@digitalkingdom.org> References: <20110717171041.GA46784@alice.local> <20110717171248.GB46784@alice.local> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Original-Sender: rlpowell@digitalkingdom.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of rlpowell@digitalkingdom.org designates 173.13.139.234 as permitted sender) smtp.mail=rlpowell@digitalkingdom.org 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-Disposition: inline Content-Transfer-Encoding: quoted-printable 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.) >=20 > mi'e xuinkrbin. >=20 > On 17 July 2011 13:12, .alyn.post. wrote= : > > 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 w= rote: > >> > > =A0 =A0 =A0 =A0NORATS CMAVO-word-pre <- " CMAVO=3D( " > >> > > =A0 =A0 =A0 =A0NORATS CMAVO <- CMAVO-word-pre inner-word close-par= en > >> > > /If/, and this is a big 'if', I understand correctly, such lines m= ean > >> > > a parser attempting to find a cmavo in a portion of lojban text sh= ould > >> > > look for (literal) "CMAVO=3D(" followed by some other text followe= d by a > >> > > literal ")", which would suggest some form of pre-interpretation o= f > >> > > 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 two > >> > stages, morphology and syntax. The output of the morphology stage > >> > produced something containing such things as "CMAVO=3D( da )" and th= en > >> > 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 Grou= ps "lojban" group. > > To post to this group, send email to lojban@googlegroups.com. > > To unsubscribe from this group, send email to lojban+unsubscribe@google= groups.com. > > For more options, visit this group at http://groups.google.com/group/lo= jban?hl=3Den. > > > > >=20 > --=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@googlegr= oups.com. > For more options, visit this group at http://groups.google.com/group/lojb= an?hl=3Den. >=20 --=20 http://singinst.org/ : Our 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". My personal page: http://www.digitalkingdom.org/rlp/ --=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.