From lojban+bncCLr6ktCfBBCZr4zxBBoEwUoNEw@googlegroups.com Sun Jul 17 10:11:03 2011 Received: from mail-pz0-f56.google.com ([209.85.210.56]) by chain.digitalkingdom.org with esmtp (Exim 4.72) (envelope-from ) id 1QiUrs-00068O-7o; Sun, 17 Jul 2011 10:11:03 -0700 Received: by pzk33 with SMTP id 33sf5701157pzk.1 for ; Sun, 17 Jul 2011 10:10:54 -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 :mail-followup-to:references:mime-version:in-reply-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-disposition:content-transfer-encoding; bh=MYnkJH7TI3FPcYAP15sK/njolnlQ4B4V8BItXCqRfbk=; b=lOd5jxwqEW8mqe4Wc4lpyNz7e6qdDJpN1OB4qFdqBqbnJHPgmTc43CvqlunpptDwW6 SW0JjU5WSVUr1rM6eKhkHA/sVQ0b3xloTz/EgrB9Luroaoh1kSlNv9NGA6ppWfDc05qI gQvSN+CuvMy+nIwOC86F3cSUqRJFP/7Pj36+Y= Received: by 10.142.248.29 with SMTP id v29mr676947wfh.45.1310922649699; Sun, 17 Jul 2011 10:10:49 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 10.68.59.41 with SMTP id w9ls2879742pbq.1.gmail; Sun, 17 Jul 2011 10:10:49 -0700 (PDT) Received: by 10.68.13.137 with SMTP id h9mr1287407pbc.103.1310922648998; Sun, 17 Jul 2011 10:10:48 -0700 (PDT) Received: by 10.68.13.137 with SMTP id h9mr1287406pbc.103.1310922648987; Sun, 17 Jul 2011 10:10:48 -0700 (PDT) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by gmr-mx.google.com with ESMTPS id v9si7908151pbc.2.2011.07.17.10.10.47 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Jul 2011 10:10:47 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.44 is neither permitted nor denied by best guess record for domain of alanpost@sunflowerriver.org) client-ip=209.85.210.44; Received: by pzk5 with SMTP id 5so3892752pzk.31 for ; Sun, 17 Jul 2011 10:10:47 -0700 (PDT) Received: by 10.68.47.67 with SMTP id b3mr195913pbn.139.1310922647692; Sun, 17 Jul 2011 10:10:47 -0700 (PDT) Received: from sunflowerriver.org (c-107-4-38-56.hsd1.nm.comcast.net [107.4.38.56]) by mx.google.com with ESMTPS id d1sm1997493pbj.24.2011.07.17.10.10.44 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Jul 2011 10:10:46 -0700 (PDT) Date: Sun, 17 Jul 2011 11:10:41 -0600 From: ".alyn.post." To: lojban@googlegroups.com Subject: Re: [lojban] Yet another PEG question ... Message-ID: <20110717171041.GA46784@alice.local> Mail-Followup-To: lojban@googlegroups.com References: Mime-Version: 1.0 In-Reply-To: X-Original-Sender: alyn.post@lodockikumazvati.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.210.44 is neither permitted nor denied by best guess record for domain of alanpost@sunflowerriver.org) smtp.mail=alanpost@sunflowerriver.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 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-paren > > /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 should > > look for (literal) "CMAVO=3D(" followed by some other text followed 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? >=20 > 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 then > 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. >=20 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. The behavior above was so Robin and xorxes could work and debug together; and perhaps for other reasons. Exactly as xorxes said, they aren't needed and are an artifact of camxes. Will you talk a little about what you're doing? So 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. -Alan --=20 .i ma'a lo bradi cu penmi gi'e du --=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.