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: file names embedded in .go Date: Tue, 20 Apr 2010 11:45:33 +0200 Message-ID: References: <87tyr7yv25.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 1271756771 30233 80.91.229.12 (20 Apr 2010 09:46:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Apr 2010 09:46:11 +0000 (UTC) Cc: guile-devel To: Thien-Thi Nguyen Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Apr 20 11:46:09 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 1O4A1t-0006Yf-E4 for guile-devel@m.gmane.org; Tue, 20 Apr 2010 11:46:05 +0200 Original-Received: from localhost ([127.0.0.1]:36661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4A1s-0007WA-UC for guile-devel@m.gmane.org; Tue, 20 Apr 2010 05:46:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O49zh-0006tl-Rk for guile-devel@gnu.org; Tue, 20 Apr 2010 05:43:49 -0400 Original-Received: from [140.186.70.92] (port=32846 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O49zg-0006tG-Fs for guile-devel@gnu.org; Tue, 20 Apr 2010 05:43:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O49ze-0005tq-3p for guile-devel@gnu.org; Tue, 20 Apr 2010 05:43:48 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:61516 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O49ze-0005tk-1u for guile-devel@gnu.org; Tue, 20 Apr 2010 05:43:46 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id D1A27AB495; Tue, 20 Apr 2010 05:43:45 -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=QuduPdFS/sFSadZw/QMgAL3g07U=; b=etdwGN 88mgAywFUfAEeeqpBNr+LOCsTia6RP+6tr1eaifwYGynk5iVbfWoZl5GBhJX6OKX gNGdpZ8wF5QF1/sUmROyI5cmcNB8b5Dq75vZ1EqvjOtOZuaKsb2heyEgLhgMzk4p UdYTCc4lz5jXiHkJJHABDi62NVQE1jcDD10g8= 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=hhZb/mS74cAO0o2bKYed/L3SfPOp+nBK 3hjfXfukHEixUwBJGn04wayYKSvJ3/BE5KqxM7/OaUZLBAA9ZNb2K7rItYezdyDj iJUElsIIUY2GF+hthLFDiXio2SbcrdqPutihI7UvNOYlhEeWDtNkvDNAodNLP3Lg Oy6bIlCvI3A= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id BD929AB494; Tue, 20 Apr 2010 05:43:44 -0400 (EDT) Original-Received: from unquote (unknown [83.202.100.241]) (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 2BAB6AB492; Tue, 20 Apr 2010 05:43:42 -0400 (EDT) In-Reply-To: <87tyr7yv25.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Mon, 19 Apr 2010 23:46:42 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Pobox-Relay-ID: 3616B18C-4C61-11DF-B849-D033EE7EF46B-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:10267 Archived-At: On Mon 19 Apr 2010 23:46, Thien-Thi Nguyen writes: > () Andy Wingo > () Mon, 19 Apr 2010 16:52:09 +0200 > > Thoughts? > > It sounds complicated. > > Does the .go format support the usual ELF-y sections, like > .rodata, .data, etc? Nope, though we should just switch to use ELF at some point. Not this month though :) > Maybe we could just include the source > verbatim in such a section (and avoid mapping it at runtime). As Jao notes it is useful to be able to map at runtime, and currently we do this well, mapping to line and column within parts of procedures. But it would be good to be able to map to expressions too, and having the original source available without mapping to the filesystem should be an option. It's tough without having the whole environment, though. Something to think about :) Andy -- http://wingolog.org/