AST files instead of DI interface files for faster compilation and easier distribution
Adam Wilson
flyboynw at gmail.com
Tue Jun 12 08:10:59 PDT 2012
On Tue, 12 Jun 2012 06:46:44 -0700, Jacob Carlborg <doob at me.com> wrote:
> On 2012-06-12 14:09, foobar wrote:
>
>> This is a solved problem since the 80's (E.g. Pascal units). Per Adam's
>> post, the issue is tied to DMD's use of OMF/optlink which we all would
>> like to get rid of anyway. Once we're in proper COFF land, couldn't we
>> just store the required metadata (binary AST?) in special sections in
>> the object files themselves?
>
> Can't the same be done with OMF? I'm not saying I want to keep OMF.
>
OMF doesn't support Custom Sections and I think a custom section is the
right way to handle this. I found the Borland OMF docs once a while back
to verify this.
--
Adam Wilson
IRC: LightBender
Project Coordinator
The Horizon Project
http://www.thehorizonproject.org/
More information about the Digitalmars-d
mailing list