From lojban+bncCLr6ktCfBBDRmp3qBBoEXAuadg@googlegroups.com Mon Jan 31 16:01:37 2011 Received: from mail-vw0-f61.google.com ([209.85.212.61]) by chain.digitalkingdom.org with esmtp (Exim 4.72) (envelope-from ) id 1Pk3gb-0000OZ-9u; Mon, 31 Jan 2011 16:01:37 -0800 Received: by vws1 with SMTP id 1sf3397095vws.16 for ; Mon, 31 Jan 2011 16:01:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature: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:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe:content-type :content-disposition:content-transfer-encoding; bh=70oEcydJUdm0iMm6kR9D5O3iSok49cElUw/06fXdn1k=; b=D9RLowZguP3EnnrG3hk+dmkElBAAeyFEYX0IVo3+CfMnKfJ+dl2vUQgkcUPU1G5LlV FQKWztNDWnLdsIRbUTvNR93yKid6UcCHE9SWDOgkgRu3BHV6hmF2DEfFSBEJzZqR0qke TPS8k/0Rmz9O4iAZersE0q2hly4sKr7ZXKJYk= DomainKey-Signature: a=rsa-sha1; c=nofws; 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:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe:content-type :content-disposition:content-transfer-encoding; b=FOd67wfoK3yFlnQKxy1lMsOCCOC70lZ/cWfM8YX6R11dr0fU6bJZ54BhlhlrxCGs0h Va7cB6VqpSXJ1LxmffSmMMhJrrtwNu0vAr2y4et5dQG82kQ7T9T5azY5PVyx5ItK9oKp bIZxCDxnayXHgOTtZrniTFhzZDzMieUas0xiI= Received: by 10.220.178.65 with SMTP id bl1mr394890vcb.41.1296518481051; Mon, 31 Jan 2011 16:01:21 -0800 (PST) X-BeenThere: lojban@googlegroups.com Received: by 10.220.109.143 with SMTP id j15ls701347vcp.1.p; Mon, 31 Jan 2011 16:01:19 -0800 (PST) Received: by 10.220.201.76 with SMTP id ez12mr1251615vcb.3.1296518479855; Mon, 31 Jan 2011 16:01:19 -0800 (PST) Received: by 10.220.201.76 with SMTP id ez12mr1251614vcb.3.1296518479835; Mon, 31 Jan 2011 16:01:19 -0800 (PST) Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by gmr-mx.google.com with ESMTPS id x13si1127890vcr.7.2011.01.31.16.01.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 31 Jan 2011 16:01:19 -0800 (PST) Received-SPF: neutral (google.com: 209.85.216.44 is neither permitted nor denied by best guess record for domain of alanpost@sunflowerriver.org) client-ip=209.85.216.44; Received: by qwi2 with SMTP id 2so6436553qwi.31 for ; Mon, 31 Jan 2011 16:01:19 -0800 (PST) Received: by 10.224.37.70 with SMTP id w6mr6876105qad.73.1296518479361; Mon, 31 Jan 2011 16:01:19 -0800 (PST) Received: from sunflowerriver.org ([209.234.140.58]) by mx.google.com with ESMTPS id q12sm15192075qcu.18.2011.01.31.16.01.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 31 Jan 2011 16:01:17 -0800 (PST) Date: Mon, 31 Jan 2011 17:00:33 -0700 From: ".alyn.post." To: lojban@googlegroups.com Subject: Re: [lojban] confusion over FUhE-post PEG grammar rule Message-ID: <20110201000033.GA51569@alice.local> Mail-Followup-To: lojban@googlegroups.com References: <20110131150504.GA49994@alice.local> <20110131223239.GC49994@alice.local> 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.216.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: 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 Mon, Jan 31, 2011 at 07:56:50PM -0300, Jorge Llamb=EDas wrote: > On Mon, Jan 31, 2011 at 7:32 PM, .alyn.post. > wrote: > > On Mon, Jan 31, 2011 at 07:14:03PM -0300, Jorge Llamb=EDas wrote: > >> On Mon, Jan 31, 2011 at 12:05 PM, .alyn.post. > > > >> > =A0* the spaces? production will always match the empty string, as > >> > =A0 FUhE-post only appears in FUhE-clause, and FUhE-pre, the rule > >> > =A0 before it, ends with a spaces? > >> > >> This also applies to the spaces? in post-clause. If I'm not mistaken, > >> it never gets a chance to grab any spaces. > > > > Correct. =A0I have a patch out to camxes which fixes this, but I > > haven't push it to Robin yet. >=20 > My preference would be for spaces to be absorbed by the following word > instead of the preceding one (similarly to the way commas are absorbed > by the following letter rather than the preceding one). >=20 Interesting, ok. I believe the grammar works the opposite way now, that spaces are absorbed after a word. If this was done without any consideration, it probably happened because PEG writers have more or less handled this problem by absorbing space after a terminal production. If I understand, you'd like: spaces* FA rather than: FA spaces* Correct? I can certainly do that. Will you justify this decision so that when people ask my why I did it I have a better answer than xorxes asked? -Alan --=20 .i ko djuno fi le do sevzi --=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.