[erlang-patches] compile: asm and core options

Björn Gustavsson bgustavsson@REDACTED
Fri Dec 13 14:26:44 CET 2013


On Fri, Dec 13, 2013 at 2:08 PM, Tuncer Ayaz <tuncer.ayaz@REDACTED> wrote:

>
> > I and Björn-Egil discussed the options. We see no reason to have two
> > names for the same option. So we suggest:
>
> I agree.
>
> > Remove the documentation for 'asm' and 'core', but retain the
> > implementation for 'asm' and 'core'.
>
> So, you're suggesting to
> * _only_ document 'from_asm' and 'from_core' and un-document 'asm'
> * implement 'core' -> 'from_core' mapping
>
> Is that correct?
>
> Wouldn't it make more sense to _not_ implement 'core' and deprecate 'asm'?
>

Yes, it does. Make it so. :-)

By deprecating, do you mean printing a message when the 'asm' option is used
and internally translate it to 'to_asm'? I still think that 'asm' should be
undocumented.

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20131213/89c1ebce/attachment.htm>


More information about the erlang-patches mailing list