From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: Anything better for delayed lexical evaluation than (lambda () ...)? Date: Wed, 14 Dec 2011 23:55:09 +0100 Message-ID: <877h1ywype.fsf@pobox.com> References: <87liqtpsl9.fsf@fencepost.gnu.org> <87wra1hcek.fsf@netris.org> <87mxaxihnw.fsf@pobox.com> <87obvclu92.fsf@fencepost.gnu.org> <87aa6wbp0w.fsf@pobox.com> <87fwgolgm5.fsf@fencepost.gnu.org> <8762hkbkwi.fsf@pobox.com> <87borclcem.fsf@fencepost.gnu.org> <87zkewa2vy.fsf@pobox.com> <87zkewjvyz.fsf@fencepost.gnu.org> <87vcpka13n.fsf@pobox.com> <87zkewnzy7.fsf@netris.org> <87r5089ui3.fsf@pobox.com> <87r508nv0o.fsf@netris.org> <87fwgondme.fsf@netris.org> <87borboalb.fsf@netris.org> <87liqf5uty.fsf@pobox.com> <87vcpjmn3c.fsf@netris.org> <87fwgmn9w6.fsf@netris.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1323903327 517 80.91.229.12 (14 Dec 2011 22:55:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Dec 2011 22:55:27 +0000 (UTC) Cc: David Kastrup , guile-devel@gnu.org To: Mark H Weaver Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Dec 14 23:55:22 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RaxjN-00020r-JA for guile-devel@m.gmane.org; Wed, 14 Dec 2011 23:55:21 +0100 Original-Received: from localhost ([::1]:39220 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaxjM-0005vf-UG for guile-devel@m.gmane.org; Wed, 14 Dec 2011 17:55:20 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:48637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaxjJ-0005vL-N0 for guile-devel@gnu.org; Wed, 14 Dec 2011 17:55:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaxjI-00051q-PQ for guile-devel@gnu.org; Wed, 14 Dec 2011 17:55:17 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:65458 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaxjG-00051Q-Tv; Wed, 14 Dec 2011 17:55:15 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 466918F35; Wed, 14 Dec 2011 17:55:14 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=AZyk7BQwlmRnu8h89E3SDM0IxHc=; b=cVUtj7 OYHvgMeVm8zET2QcMad64cFbiupxm7tWK499iRY8qzRDwPPaMO+mCYmqTrY713x2 59b1U6RSzXDaipb99lGCvRhGRbr9ZfdESI2PmnQBSFfuuvFNitrdY3TDaoees9Cr aOI4KNbY4Ti5dexhXI+tePi9c7VIqebEz+65I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=rbvfODPXAL3eXGPxA+4/kF/xk9oTxzpV lplpSaOZNT03CVNgb3dD5G/a8GL6LUDFBLHAhAlBNaV2OiUl/FsI/QzFeMajmjnI FKWz4H6ty25UZbDHYzN4AlnqFEXA3ZLi8NA1TkyXFx1ngLtzhLjRtkNA6FJKM2aN ERfW1/WKMKQ= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 3A7D38F34; Wed, 14 Dec 2011 17:55:14 -0500 (EST) Original-Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 6AF3E8F32; Wed, 14 Dec 2011 17:55:12 -0500 (EST) In-Reply-To: <87fwgmn9w6.fsf@netris.org> (Mark H. Weaver's message of "Wed, 14 Dec 2011 16:03:37 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Pobox-Relay-ID: AE23F704-26A6-11E1-80C4-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:13107 Archived-At: On Wed 14 Dec 2011 22:03, Mark H Weaver writes: > Noah Lavine writes: >> [(the-environment)] is just (call-with-current-continuation), > In fact it makes me wonder whether `the-environment' and `local-eval' > could actually be implemented this way. This prevents the evaluator from running an analysis pass beforehand. It would also prevent syntax expansion from happening beforehand, I think. As an example, Chez Scheme, if it uses the interpreter, actually runs the cp0 pass (like our peval) before passing code off to the interpreter. > Regardless, this is a great way to _think_ about these primitives in > terms that Schemers can understand, and maybe a selling point too. It is an interesting thought experiment, yes ;-) Cheers, Andy -- http://wingolog.org/