Calling Elixir modules from Erlang projects

Hi All,

I’ve been exploring the ecosystem of available libraries for my current project and have encountered a situation where several Elixir libraries offer functionality that appears to have no direct equivalent in Erlang.

I’m interested in learning about approaches for integrating these Elixir libraries into an Erlang project that uses rebar3 as its build tool. Specifically, I would like to understand:

  1. The recommended methods for calling Elixir modules from Erlang code
  2. How to configure rebar3 to properly include Elixir dependencies
  3. Whether it’s possible to build releases using the standard rebar3 workflow without significant modifications

Has anyone successfully integrated Elixir libraries into their Erlang projects? Any documentation, examples, or insights from your experience would be greatly appreciated.

Thank you for your assistance.
/Z

You can give exerl - Elixir interoperability for rebar3 — exerl v0.2.4 a try.

It should be able to do everything you are asking it to do, but I haven’t gotten any reports yet from people using it in production.

2 Likes

@filmor Amazing. Would it be possible to provide an example on how to include this Elixir SAML library in rebar3.config?