elixir_script v0.15.0 Release Notes

Release Date: 2016-01-26 // almost 6 years ago
  • ➕ Added

    • __ENV__ and __CALLER__ are now supported
    • JS.import/1, JS.typeof/1,JS.instanceof/1, and JS.global/1
    • 👌 Support for multi alias/require/imports statements

    🔄 Changed

    • alias, require, and import now work inside lexical scopes
    • Some of the standard library originally written in JavaScript has been rewritten in Elixir.
    • 0️⃣ Generated JavaScript export statements are now default exports
    • When output is sent to standard out, there are now markers to specify where each module begins as well as what the file name would be. For the end of a file, //:ENDFILE is used. For the file name, //<file>:ENDFILENAME is used where <file> is the name of the file
    • compile, compile_path, and compile_quoted opts parameter now expects a map
    • The stdlib compiler option is now core. The stdlib_path compiler options is now core_path