On Mon, 2013-04-01 at 21:12 +0200, Andy Wingo wrote: > On Sat 30 Mar 2013 22:17, Mark H Weaver <m...@netris.org> writes: > > > I'd be glad to see something like this in Guile core. This code is a > > great demonstration, but it has some problems. > > It would be nice to reify the original source as a compressed string in > the debug section of the ELF file. One day... > > Andy
I've checked out our latest wip-rtl and found .debug_info is on the TODO list. So I think the better solution to show source code is to take advantage of this. But this feature depends on our future RTL, so my previous patch could be useful for the 'older' guile2 user, since our REPL is well extensible, that ',src' could be a plugin for that. Thanks!