[erlang-questions] List Question

Joe Armstrong erlang@REDACTED
Tue Aug 8 15:36:02 CEST 2017


Thanks - great fun. Makes for an easy way to learn Elixir. Just
transpile into Erlang and read the
code :-)

/Joe

On Tue, Aug 8, 2017 at 10:48 AM, Michael Truog <mjtruog@REDACTED> wrote:
> On 08/08/2017 01:00 AM, Joe Armstrong wrote:
>>
>> The last time I fiddled a bit (yesterday as it happened) - it turned
>> out to be less than
>> blindingly obvious how to call other than trivial elixir code from erlang.
>>
>> I was also wondering about cross-compilation. Has anybody written
>> something that turns
>> erlang code into elixir source code or vice. versa.
>
>
> I created a script ex2erl
> (https://github.com/okeuday/reltool_util/blob/master/ex2erl) to convert a
> single Elixir module into multiple Erlang modules.  Then it is easy to
> include Elixir source code into an Erlang project without creating a
> dependency on Elixir for all use of the Erlang project.  The ex2erl script
> requires an Elixir installation alongside the Erlang installation and
> depends on the Elixir module having the debug_info in the beam output which
> is done by default.
>
> Best Regards,
> Michael



More information about the erlang-questions mailing list