From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: translators and scoping rules (was: Re: language translator help) Date: 28 Apr 2002 19:21:52 +0100 Sender: guile-user-admin@gnu.org Message-ID: References: <15561.38014.967466.255795@segfault.bogus.domain> <15563.18499.936272.639276@segfault.bogus.domain> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1020018479 13728 127.0.0.1 (28 Apr 2002 18:27:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 28 Apr 2002 18:27:59 +0000 (UTC) Cc: guile-user Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 171tOx-0003ZD-00 for ; Sun, 28 Apr 2002 20:27:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 171tO6-0004Ha-00; Sun, 28 Apr 2002 14:27:07 -0400 Original-Received: from mail.uklinux.net ([80.84.72.21] helo=s1.uklinux.net) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 171tNZ-0004FX-00 for ; Sun, 28 Apr 2002 14:26:33 -0400 Original-Received: from portalet.ossau.uklinux.net (dial-212-159-134-177.access.uk.tiscali.com [212.159.134.177]) by s1.uklinux.net (8.11.6/8.11.6) with ESMTP id g3SIQRk20836; Sun, 28 Apr 2002 19:26:27 +0100 Original-Received: from laruns.ossau.uklinux.net.ossau.uklinux.net (laruns.ossau.uklinux.net [192.168.1.3]) by portalet.ossau.uklinux.net (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id g3SJQ0807300; Sun, 28 Apr 2002 19:26:01 GMT Original-To: "John W. Eaton" Original-Lines: 19 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:351 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:351 >>>>> "John" == John W Eaton writes: John> The eval() function can introduce new local variables. How would you John> do that with Guile? [...] Currently impossible, I believe. Parts of the solution are there, namely `local-eval' and `the-environment', and it's easy to see how we could extend `define' so that it could add a new binding to a `the-environment'-type environment. However, `local-eval' and `the-environment' are already considered a bit tricksy and perhaps-ought-not-to-be-there by some people. Can you explain in more application-specific terms what kind of usage you are aiming to support by this mechanism? Then we could perhaps think of a more natural (in Guile terms) way of achieving it. Neil _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user