ElixirScript 0.30.0 released

New version of Elixir to JavaScript code converter released 
15 August 2017   1435

What is ElixirScript? 

ElixirScript is a Elixir to JavaScript code converter. The goal of ElixirScript is to convert a subset (or full set) of Elixir code to JavaScript, providing the ability to write JavaScript in Elixir. This is done by taking the Elixir AST and converting it into JavaScript AST and then to JavaScript code. This is done using the Elixir-ESTree library.


  • Erlang 20 or greater
  • Elixir 1.5 or greater (must be compiled with Erlang 20 or greater)
  • Node 8.2.1 or greater (only for development)

What's new in ElixirScript 0.30.0? 

New version of ElixirScript includes a rewrite of the compiler, a change in JavaScript interoperability and much more. This is also the first version to require Erlang 20 and Elixir 1.5, compiled with Erlang 20.


  • Foreign Function Interface (FFI)
    ElixirScript now interacts with JavaScript using an FFI. This means there is a stricter barrier between Elixir and JavaScript. The FFI allows the ability to make packages designed to work with ElixirScript. Another benefit is that there are far fewer warnings during compilation time. As an example let’s create an FFI module for some HTTP specific functions we want to use from JavaScript.
  • Dependencies
    ElixirScript can compile your project’s dependencies to JavaScript. This means you can use many of the packages available in Hex. It is also possible to create ElixirScript-specific packages. These are normal mix projects which may or may not have FFI modules with their corresponding JavaScript files.
  • A Call to Arms
    Calls to Erlang functions that the Elixir standard library make have to be reimplemented in JavaScript. There are many that are implemented, but there are more that need to be. This effects the availability of some Elixir standard library calls. A major contribution to ElixirScript would be to help with an implementation of an Erlang function that is blocking the use of an Elixir function you want to use.
  • Breaking Changes
    ElixirScript now only works as a mix compiler. This means there will no longer be an escript for download and plugins for Brunch and Webpack will no longer work with this and future versions. Also, ElixirScript now only supports output of ES modules.
  • Limitations
    receive is still not supported. When ElixirScript encounters a receive call during compilation, the compiler will show a warning, but will continue. During runtime these calls will throw an error. With receive not yet supported, this also means most of OTP is not supported as well.

You can get more info about this update at GitHub.

Elixir v1.7.0-rc.0 Released

Development team ask community to try out new release 
17 July 2018   1401

Elixir team rolled out zero release candidate for version 1.7.0.

Hi everyone,

We have just released v1.7.0-rc.0.

Please give it a try! You can either compile the v1.7 branch from source OR use the precompiled files, as described in our install page 11.

Note that you will need {:ex_doc, "~> 0.19-rc"}if you want to generate docs using the release candidate.

Happy coding!


Creator, Elixir

Currently Elixir supports two metadata keys: :deprecated and :since. Other keys will be added in the future. 

To access the new documentation, developers should use Code.fetch_docs/1. The old documentation format is no longer available and the old Code.get_docs/1 function will return nil accordingly.

Tools like IEx and ExDoc have been updated to leverage the new format and show relevant metadata to users

Learn more at GitHub