[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Minimal Guile
From: |
Andreas Rottmann |
Subject: |
Re: Minimal Guile |
Date: |
Wed, 04 Jan 2012 21:48:16 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
Andy Wingo <address@hidden> writes:
> On Tue 03 Jan 2012 22:44, Mark H Weaver <address@hidden> writes:
>
>> If this single file is to be built only during the package build
>> process, and never modified after that, then it should be super-easy to
>> invent your own little homebrew format.
>
> Indeed. It would be nice to use ELF, though. I'd like to change the
> format of .go files to ELF in 2.2. That would allow lots of things,
> like having multiple entry points (as for different modules). It would
> also help to further separate debug information from code (helping
> performance), statically allocating data (lowering allocation,
> increasing cross-process sharing), and allowing for extensibility,
> including sections for natively-compiled code.
>
> But if you (or anyone) wants to work on something simpler, that's cool
> too :) I do have a Scheme ELF parser around somewhere, and intend to
> get back to the "linker" sometime soon.
>
FWIW, I have written a simple ELF generator in R6RS, which can be found
here:
http://rotty.xx.vu/gitweb/?p=scheme/avrth.git;a=blob;f=elf.sls;hb=master
Regards, Rotty
--
Andreas Rottmann -- <http://rotty.yi.org/>