From lojban+bncCK30vq5WEKSKsOcEGgQ-OQC_@googlegroups.com Tue Nov 23 10:17:29 2010 Received: from mail-px0-f189.google.com ([209.85.212.189]) by chain.digitalkingdom.org with esmtp (Exim 4.72) (envelope-from ) id 1PKxQd-0002XY-R5; Tue, 23 Nov 2010 10:17:29 -0800 Received: by pxi19 with SMTP id 19sf700723pxi.16 for ; Tue, 23 Nov 2010 10:17:14 -0800 (PST) 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: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:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type:content-disposition; bh=h1SIOYUncu16lQrZlNvwf5DKdQullaMvNlIVlzt/BIU=; b=mRKtT4d5ITgT9Z+AGJSAz+b1pPiMBKn2FD0rcAtVj4Wn0Ol1fqU+0Nvh4gf2eU1cmf dgWnYfuky5kJXalJAMIklQEdtioW/IppIjpawsoW7bhB1ID1wstkOiyg016ISIRyKDwe +aYmRcmUfPlAN1yRoVWx+vORmamCEOutHu6xQ= DomainKey-Signature: a=rsa-sha1; c=nofws; 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:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type:content-disposition; b=i9Hi71OFQgAgkWM5ZmXv/fHomfs/UqKlgyvaC3OFnvAuSDRVwX9XuFbzoPY4xtJK6D bpGlyIweUY3ZYGmvYemCCL0CB5lJR6yNVpV/ErvGVDsOdXD7uv81t2nDi2+9fOGrS9P0 upuM5AcJ0HpIDYGYWp88KIWgVO81C9U2j5inU= Received: by 10.143.153.7 with SMTP id f7mr377231wfo.55.1290536228883; Tue, 23 Nov 2010 10:17:08 -0800 (PST) X-BeenThere: lojban@googlegroups.com Received: by 10.142.78.15 with SMTP id a15ls3124136wfb.2.p; Tue, 23 Nov 2010 10:17:02 -0800 (PST) Received: by 10.142.199.12 with SMTP id w12mr4797801wff.68.1290536219260; Tue, 23 Nov 2010 10:16:59 -0800 (PST) Received: by 10.142.199.12 with SMTP id w12mr4797799wff.68.1290536219232; Tue, 23 Nov 2010 10:16:59 -0800 (PST) Received: from chain.digitalkingdom.org (digitalkingdom.org [173.13.139.234]) by gmr-mx.google.com with ESMTP id y8si9388496wfj.1.2010.11.23.10.16.59; Tue, 23 Nov 2010 10:16:59 -0800 (PST) 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 1PKxQI-0002X7-DB for lojban@googlegroups.com; Tue, 23 Nov 2010 10:16:58 -0800 Date: Tue, 23 Nov 2010 10:16:58 -0800 From: Robin Lee Powell To: lojban@googlegroups.com Subject: Re: [lojban] NORATS, SPACE, and PUBLIC in PEG grammar Message-ID: <20101123181658.GR9301@digitalkingdom.org> References: <20101123180616.GB10838@alice.local> <20101123181027.GQ9301@digitalkingdom.org> MIME-Version: 1.0 In-Reply-To: <20101123181027.GQ9301@digitalkingdom.org> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 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 On Tue, Nov 23, 2010 at 10:10:27AM -0800, Robin Lee Powell wrote: > On Tue, Nov 23, 2010 at 11:06:16AM -0700, .alyn.post. wrote: > > What do the NORATS, SPACE, and PUBLIC statements mean in the > > Lojban PEG grammar? > > > > They are prefixes to non-terminal statements which I haven't > > encountered in other PEG files. > > They're used by > http://www.digitalkingdom.org/~rlpowell/hobbies/lojban/grammar/rats/peg2rats.pl > to create the actual Rats! grammar. It's all a horrible hack, and > someone should really write something better now that there are > other decent PEG parser generators around. To be clear there: the point was that someone making their own parser could just strip those tags out. I didn't want there to be any Rats!-specific stuff in the grammar if I could avoid it. -Robin -- 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/ -- 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.