From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: No Itisnt Newsgroups: gmane.lisp.guile.devel Subject: Re: PEG Parser Updates/Questions Date: Wed, 28 Jul 2010 00:41:05 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1280295676 26098 80.91.229.12 (28 Jul 2010 05:41:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Jul 2010 05:41:16 +0000 (UTC) Cc: guile-devel@gnu.org To: Michael Lucy Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Jul 28 07:41:15 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OdzOE-0007uG-Re for guile-devel@m.gmane.org; Wed, 28 Jul 2010 07:41:15 +0200 Original-Received: from localhost ([127.0.0.1]:51211 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdzOD-0007pW-VY for guile-devel@m.gmane.org; Wed, 28 Jul 2010 01:41:14 -0400 Original-Received: from [140.186.70.92] (port=58169 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdzO8-0007pR-NJ for guile-devel@gnu.org; Wed, 28 Jul 2010 01:41:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdzO7-0000De-H5 for guile-devel@gnu.org; Wed, 28 Jul 2010 01:41:08 -0400 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:35926) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdzO7-0000DY-Dt for guile-devel@gnu.org; Wed, 28 Jul 2010 01:41:07 -0400 Original-Received: by vws16 with SMTP id 16so4516171vws.0 for ; Tue, 27 Jul 2010 22:41:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=wcO6jvVfsCZfPu7MOW5gCpGrq5j71xQ0kDRRyG8ouH8=; b=scsYimB7K+U3rNT4Kfr3XWJgwFURpQIxCQlgV/4e1L/l15VuSBLGhbzjhWgg2b6kEy k/KNGV87EvMby9gtOV57boX15l7D8SecKxu+YV0rYFYB27IpI5qhPBt5tAm8QWxCiooY OQNw1dueIZUApBorC/vzKu5m1+aL8EQTiQIMg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=byY7tqOcbqbXFJGX+7F5aiXUAf1fA41U16PGfJEdCoiXJQp5BLpThr0ljnvRjw8CFN /H3PjsYNBpRw9p503dFMVThNQEZofN2bsv+rBqWoVogJd5Rgdi4pYt2tH+opnpxd1Cok Mao6HixMZff3guCTS6tgkdpkb7FYiIFfj0Y1I= Original-Received: by 10.220.59.202 with SMTP id m10mr5815907vch.53.1280295665100; Tue, 27 Jul 2010 22:41:05 -0700 (PDT) Original-Received: by 10.220.190.134 with HTTP; Tue, 27 Jul 2010 22:41:05 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10741 Archived-At: On Wed, Jul 28, 2010 at 12:13 AM, Michael Lucy wro= te: > Another question about module namespaces: =A0I have some syntax that I'd > like to be available to code generated by macros in my module, but > which I'd rather not export to the user (to avoid clobbering their > functions). =A0Is there a standard way of doing this? =A0I can't seem to > find anything in the module documentation regarding giving namespaces > to things in modules except for :renamer, which has to be done by the > user--the only options appear to be not exporting it at all, or > exporting it straight into the user's namespace. =A0The best fix I can > think of is naming the syntax things the user is unlikely to ever take > (or maybe using gensyms to make sure it isn't a name they take). I can't speak on the namespace issues and perhaps there is a better solution, but you can explicitly reference a binding in a module using @ (exported bindings) or @@ (private bindings) like (@ (guile) list) to get the function LIST from (guile).