From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Neil Jerram" Newsgroups: gmane.lisp.guile.devel Subject: Re: vm branch now uses vm repl by default Date: Tue, 9 Sep 2008 09:27:32 +0100 Message-ID: <49dd78620809090127y1ffac216ve34cdc5bb2a426ab@mail.gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220948873 6484 80.91.229.12 (9 Sep 2008 08:27:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Sep 2008 08:27:53 +0000 (UTC) Cc: guile-devel To: "Andy Wingo" Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Sep 09 10:28:49 2008 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.50) id 1Kcyab-0005QB-Rd for guile-devel@m.gmane.org; Tue, 09 Sep 2008 10:28:46 +0200 Original-Received: from localhost ([127.0.0.1]:55101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcyZb-0000k2-Gc for guile-devel@m.gmane.org; Tue, 09 Sep 2008 04:27:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcyZT-0000i0-92 for guile-devel@gnu.org; Tue, 09 Sep 2008 04:27:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcyZS-0000gl-1z for guile-devel@gnu.org; Tue, 09 Sep 2008 04:27:34 -0400 Original-Received: from [199.232.76.173] (port=59944 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcyZR-0000gi-RI for guile-devel@gnu.org; Tue, 09 Sep 2008 04:27:33 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.251]:46959) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KcyZR-00024X-C1 for guile-devel@gnu.org; Tue, 09 Sep 2008 04:27:33 -0400 Original-Received: by rv-out-0708.google.com with SMTP id k29so1950301rvb.6 for ; Tue, 09 Sep 2008 01:27:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=w/9CLsZ5nrHNn9nq8NmzOxb5UkzZZR2ug7AmU8IjNLs=; b=ryqP85Kkvn0BFsGWRXYJmSPs5e4YREoK4ci7iZRAhcXJLVTzpnqK6Z5ajSS7ytMFBe a38xiIzYkT4rtGTzY249QU0MbXZ9eTUnDsU18km+vExVUIuzFo3qqgR4eDqO3p5z9l+2 F7eGU2IkOuSzpfmx5roX8NlxcptNHcJGEoJcw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=B60XIOK0FlaaEdMeOL2MoipNFRCZgbhsoGbJSQ3Apg2N7AxNkGVs4QPZJB2Db+BDGV gWu0hEJECWztvt4KuhPONJqCt1nnAKqPPdEVRLmVszmni9bqXQkdOu9+6M4iWm3YCYAP SZh3k4n4MRagogVWvYkrrNbiWWx0aZNNJoDyA= Original-Received: by 10.141.212.5 with SMTP id o5mr9537264rvq.20.1220948852525; Tue, 09 Sep 2008 01:27:32 -0700 (PDT) Original-Received: by 10.141.177.4 with HTTP; Tue, 9 Sep 2008 01:27:32 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: 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:7632 Archived-At: Hi Andy, This is looking like fun! But I'm not fully understanding... 2008/9/9 Andy Wingo : > scheme@(guile-user)> (lambda () (pk a #:bar)) > $2 = # [...] > scheme@(guile-user)> ,x $2 > > There is a wealth of meta-commands at the repl, commands that start with > `,'. This command, `,x', is an abbreviation for `,disassemble'. Its > output is this: > > Disassembly of #: > > nargs = 0 nrest = 0 nlocs = 0 nexts = 0 > > The program has no arguments, no rest arguments, no local variables, and > no external (lexically-bound) variables. > > Bytecode: > > 0 (late-variable-ref 0) > 2 (late-variable-ref 1) > 4 (object-ref 2) ;; #:bar > 6 (tail-call 2) > > Objects: > > 0 #> > 1 # > 2 #:bar Where in the bytecode is `pk', or some kind of reference to it? Regards, Neil