From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jose A. Ortega Ruiz" Newsgroups: gmane.lisp.guile.devel Subject: Re: file names embedded in .go Date: Tue, 20 Apr 2010 02:08:32 +0200 Message-ID: <87bpdfhtof.fsf@newton.homeunix.net> 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 1271725708 7621 80.91.229.12 (20 Apr 2010 01:08:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Apr 2010 01:08:28 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Apr 20 03:08:26 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 1O41wt-00023d-Vo for guile-devel@m.gmane.org; Tue, 20 Apr 2010 03:08:24 +0200 Original-Received: from localhost ([127.0.0.1]:48756 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O41wt-0001Zk-Cf for guile-devel@m.gmane.org; Mon, 19 Apr 2010 21:08:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O41wq-0001ZV-Bv for guile-devel@gnu.org; Mon, 19 Apr 2010 21:08:20 -0400 Original-Received: from [140.186.70.92] (port=39817 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O41wo-0001ZN-VS for guile-devel@gnu.org; Mon, 19 Apr 2010 21:08:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O41wn-0005oF-1U for guile-devel@gnu.org; Mon, 19 Apr 2010 21:08:18 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:53409) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O41wm-0005nX-QN for guile-devel@gnu.org; Mon, 19 Apr 2010 21:08:17 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O41wh-00020D-LH for guile-devel@gnu.org; Tue, 20 Apr 2010 03:08:11 +0200 Original-Received: from 6.red-88-18-102.staticip.rima-tde.net ([88.18.102.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Apr 2010 03:08:11 +0200 Original-Received: from jao by 6.red-88-18-102.staticip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Apr 2010 03:08:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 27 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 6.red-88-18-102.staticip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Attribution: jao X-URL: Cancel-Lock: sha1:qr1d5/uUFVBiWT1t4ZHo9DI+HpY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:10265 Archived-At: 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? Maybe we could just include the source > verbatim in such a section (and avoid mapping it at runtime). I'm not sure if i'm understanding you correctly, but if, by source, you mean the scheme source, that'd be terrible news for tools such as Geiser. With that in mind, i like Andy's proposal, and would even add a way to control how the paths are printed in the debugger backtraces (where one cannot call scheme functions as the one shown by Andy), although perhaps that's already implicit in the proposal (and, anyway, is not strictly necessary: i can implement the relative->absolute-in-load-path mapping in elisp). jao -- If at first you don't succeed, try and try and try again. And then give up. There's no point making a damn fool out of yourself. -Dilbert's Rules of Work, slightly paraphrased