surik / mix_debeam

MIX task to get Erlang code of Elixir module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MIX decompiler task

Build Status Package Version

MIX task to get Erlang code of Elixir module.

Installation and usage

Add it to your application:

def deps do
  [{:mix_debeam, "~> 0.1.0", only: :dev, runtime: false}]
end

Then disassembly an Elixir module:

$ mix debeam Some.Module > some_module.erl
$ cat some_module.erl
-compile(no_auto_import).

-file("lib/simple_module.ex", 1).

-module('Elixir.Simple.Module').

-export(['__info__'/1]).
...

Have fun.

About

MIX task to get Erlang code of Elixir module

License:Other


Languages

Language:Elixir 100.0%