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: despair, debugging, and the repl Date: Thu, 10 Jun 2010 16:36:57 +0200 Message-ID: References: <87ljanxdi9.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276180630 7760 80.91.229.12 (10 Jun 2010 14:37:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Jun 2010 14:37:10 +0000 (UTC) Cc: guile-devel To: Thien-Thi Nguyen Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Jun 10 16:37:08 2010 connect(): No such file or directory 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 1OMisV-0006qd-CU for guile-devel@m.gmane.org; Thu, 10 Jun 2010 16:37:07 +0200 Original-Received: from localhost ([127.0.0.1]:52913 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMisU-0004ZW-AU for guile-devel@m.gmane.org; Thu, 10 Jun 2010 10:37:06 -0400 Original-Received: from [140.186.70.92] (port=42858 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMiqr-0003Cz-7X for guile-devel@gnu.org; Thu, 10 Jun 2010 10:35:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMiqp-0001dQ-A6 for guile-devel@gnu.org; Thu, 10 Jun 2010 10:35:25 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:59699 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMiqp-0001d1-8L for guile-devel@gnu.org; Thu, 10 Jun 2010 10:35:23 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 9F1D6BB4B9; Thu, 10 Jun 2010 10:35:22 -0400 (EDT) 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=Evf9WPLxpZ3E8dNTlee9y03+vN4=; b=H19Pvj FKe9ru6kGvYz/SdWeQzjNgV+lgiBfq1y84L5/bM7jmZSn193A8fbK1lmFn8U3aMO qV+qCxuyvAyoCShugb6jADSd+aJIj2ndhapQMk0DtsKfPEKoZ7TXblUOKyWIMPax X07XIZgtneSM5Gchs3yWBWt7EAgHCgkc3rfHs= 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=eRWCoBdVpRDOiL53k6TiWz6yzPaX1t/H NVOIv58hImlAwaXEFkbIv0M1Zsoph8Gzj39CFPr+tWNH8d1RpkFEZ+zdYftJoqyv 22WGnyfvtmEmGClJugMUUEW0UP0OA3u3zmRKkkS8+FAmSJKmolKBFkSMOJy+a7q0 I60IeLm75aE= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 8D704BB4B8; Thu, 10 Jun 2010 10:35:21 -0400 (EDT) Original-Received: from unquote (unknown [88.17.129.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id BE329BB4B7; Thu, 10 Jun 2010 10:35:19 -0400 (EDT) In-Reply-To: <87ljanxdi9.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Thu, 10 Jun 2010 14:45:18 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Pobox-Relay-ID: 6610B766-749D-11DF-9911-9056EE7EF46B-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:10459 Archived-At: On Thu 10 Jun 2010 14:45, Thien-Thi Nguyen writes: > () Andy Wingo > () Thu, 10 Jun 2010 12:03:22 +0200 > > So, to that end, then, here's a preliminary plan of action: > > * Deprecate all of the old repl code, keeping compatibility shims for > the useful interfaces perhaps, but trying to move the REPL > implementation entirely out to modules. > > * Remove all of the old debugger code. This pains me somewhat, but we > have to move forward here. > > * Deprecate the-last-stack fluid -- besides being hard to reason > about, it doesn't even work all that well. > > * Document the new REPL. > > If the plan is to modularize, is it possible to keep the old one around > (in a module)? The old repl, yes. I was wondering how to deprecate it in boot-9 but I think I have figured out a way. > Surely, not trashing Neil's work entirely is better? Trashing is a loaded word :) It is always available in its original form in git. But it hasn't worked, is the problem -- it relies on hooks from ceval and deval that just aren't there any more. The part that coincides with the new implementation is equivalent in functionality, though Neil's code is nicer, I admit. Guile needs to promote one main repl implementation, and one main debugger. There is room for others, but if they are to remain in Guile itself, they need to be maintained. Andy -- http://wingolog.org/