From lojban+bncCOjSjrXVGBCrxKzmBBoES_wQ8A@googlegroups.com Fri Oct 29 12:36:26 2010 Received: from mail-gw0-f61.google.com ([74.125.83.61]) by chain.digitalkingdom.org with esmtp (Exim 4.72) (envelope-from ) id 1PBukR-0000pX-3o; Fri, 29 Oct 2010 12:36:25 -0700 Received: by gwj20 with SMTP id 20sf4904285gwj.16 for ; Fri, 29 Oct 2010 12:36:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:x-beenthere:received:received:received :received:received-spf:received:mime-version:received:received:date :message-id:subject:from:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=zZq/CUtRiCl35UUDWYqTctN7nbiIRBEAMQ9/dg5D3KY=; b=dbedV3/09UXH81wAp1n284atXkEIOTdVMkN20LYL4wbbFFVx2q1oFqRaPcETZYrJxC I9LMwwsAPS5tfWNUriDBkylHTIZyJCg0ggslZJxbPa3Kuo5EeUhSCCHE3mEre64PhXNf Z2M/5Ou3WvrZ6LqF8h7XIHXOuHDFZ3zBU9f2M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:date:message-id:subject:from :to:x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe:content-type; b=QbOWP5Imfe96mot2uW66OyHHNVIE8yTaIZbCyFWIzTuisMo/5yA1L1Y/qnPaF4oglq a1GnQONOYYRLs5mvgyV3b7/Ad3UrQwUW39w0SoUjtL7kMrGWvIYdOGnVR4IZFFy044AF gQMW0tnlZbS6a0S6zg//crixbAOhk7wvbT+NE= Received: by 10.150.167.3 with SMTP id p3mr1900763ybe.65.1288380971474; Fri, 29 Oct 2010 12:36:11 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 10.150.158.14 with SMTP id g14ls1792299ybe.7.p; Fri, 29 Oct 2010 12:36:10 -0700 (PDT) Received: by 10.151.8.16 with SMTP id l16mr5399838ybi.16.1288380970743; Fri, 29 Oct 2010 12:36:10 -0700 (PDT) Received: by 10.151.8.16 with SMTP id l16mr5399837ybi.16.1288380970698; Fri, 29 Oct 2010 12:36:10 -0700 (PDT) Received: from mail-yx0-f174.google.com (mail-yx0-f174.google.com [209.85.213.174]) by gmr-mx.google.com with ESMTP id z4si795804yhz.10.2010.10.29.12.36.09; Fri, 29 Oct 2010 12:36:09 -0700 (PDT) Received-SPF: pass (google.com: domain of lukeabergen@gmail.com designates 209.85.213.174 as permitted sender) client-ip=209.85.213.174; Received: by mail-yx0-f174.google.com with SMTP id 8so1881763yxk.19 for ; Fri, 29 Oct 2010 12:36:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.42.197.72 with SMTP id ej8mr8802838icb.196.1288380969504; Fri, 29 Oct 2010 12:36:09 -0700 (PDT) Received: by 10.231.149.14 with HTTP; Fri, 29 Oct 2010 12:36:09 -0700 (PDT) Date: Fri, 29 Oct 2010 15:36:09 -0400 Message-ID: Subject: [lojban] questions about peg grammar From: Luke Bergen To: lojban@googlegroups.com X-Original-Sender: lukeabergen@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of lukeabergen@gmail.com designates 209.85.213.174 as permitted sender) smtp.mail=lukeabergen@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: List-Post: , List-Help: , List-Archive: Sender: lojban@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: multipart/alternative; boundary=20cf303bf93005d0ce0493c692f7 --20cf303bf93005d0ce0493c692f7 Content-Type: text/plain; charset=ISO-8859-1 Ok, so I'm trying to get a feel for how the peg grammar handles lujvo so that I can make my parser be as close to the real deal as possible (i.e. not a sloppy hack). I have a question though. I think the relevant section that I want to understand is the following, correct? ;----------------------------------------------------------------------------------------------------------------------------------------- lujvo <- !gismu !fuhivla !cmavo initial-rafsi* brivla-core brivla-core <- fuhivla / gismu / CVV-final-rafsi / stressed-initial-rafsi short-final-rafsi stressed-initial-rafsi <- stressed-extended-rafsi / stressed-y-rafsi / stressed-y-less-rafsi initial-rafsi <- extended-rafsi / y-rafsi / !any-extended-rafsi y-less-rafsi any-extended-rafsi <- fuhivla / extended-rafsi / stressed-extended-rafsi ;----------------------------------------------------------------------------------------------------------------------------------------- Now, I may be reading this incorrectly, but wouldn't this mean that an initial rafsi followed by a fuhivla would be considered a lujvo? i.e. {bracidrspageti}? -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/lojban?hl=en. --20cf303bf93005d0ce0493c692f7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ok, so I'm trying to get a feel for how the peg grammar handles lujvo s= o that I can make my parser be as close to the real deal as possible (i.e. = not a sloppy hack). =A0I have a question though. =A0I think the relevant se= ction that I want to understand is the following, correct?

;-----------------------------------------------------------= ---------------------------------------------------------------------------= ---
lujvo <- !gismu !fuhivla !cmavo initial-rafsi* brivla= -core

brivla-core <- fuhivla / gismu / CVV-final-rafsi / s= tressed-initial-rafsi short-final-rafsi=A0

stresse= d-initial-rafsi <- stressed-extended-rafsi / stressed-y-rafsi / stressed= -y-less-rafsi

initial-rafsi <- extended-rafsi / y-rafsi / !any-ext= ended-rafsi y-less-rafsi

any-extended-rafsi <- = fuhivla / extended-rafsi / stressed-extended-rafsi
;-------= ---------------------------------------------------------------------------= -------------------------------------------------------

Now, I may be reading this incorrectly, but wouldn'= t this mean that an initial rafsi followed by a fuhivla would be considered= a lujvo? =A0i.e. {bracidrspageti}?


--
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.
--20cf303bf93005d0ce0493c692f7--