[erlang-questions] embedding elixir in erlang code
Thu Jul 12 09:51:39 CEST 2012
If you are using rebar, you should be able to use master as a dependency:
After using it as a dependency, since Elixir follows a similar structure to
OTP, you will need to choose which apps you want to load, there are some
instructions inside the rebar.config file:
Then you can install Elixir's rebar plugin:
And be able to compile and use Elixir files normally with your rebar
If you are not using rebar, I believe the easiest approach is to clone
elixir, run "make" and add the lib directory to ERL_LIBS.
I will work on documenting this process and also on adding a readme to
rebar_elixir_plugin with the available configuration options. Please let me
know if you have any questions or ask away on #elixir-lang.
Founder and Lead Developer
On Thu, Jul 12, 2012 at 9:19 AM, Benoit Chesneau <>wrote:
> I don't see any example on how to embed Elixir in your own erlang
> code. Is this possible? How?
> - benoît
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions