[erlang-patches] compile: asm and core options

Tuncer Ayaz tuncer.ayaz@REDACTED
Thu Dec 5 09:54:41 CET 2013


On Wed, Dec 4, 2013 at 11:09 AM, Tuncer Ayaz <tuncer.ayaz@REDACTED> wrote:
> On Wed, Dec 4, 2013 at 10:09 AM, Anthony Ramine <n.oxyde@REDACTED> wrote:
>> I would rather document 'from_asm' and 'from_core' than add ‘core’,
>> we already have ‘to_asm’ and ‘to_core’.
>
> We already have 'asm' (mapping to 'from_asm') implemented and
> documented as an option for compile:file/2. Therefore, I added 'core'.
> I think this makes more sense given the existing docs and
> implementation.

Anthony, after some pondering, I agree that it's important to document
'from_asm' and 'from_core'. But, we need to do both - add 'core' and
document 'from_asm' and 'from_core'. If this gets accepted, it will be
safe to rely on the options. The branch has been updated accordingly.



More information about the erlang-patches mailing list