elixir_script v0.31.0 API Reference

Modules

ElixirScript acts as a mix compiler. This means that when you execute mix compile, ElixirScript’s compiler will run as well. Make sure to add ElixirScript to your list of compilers in mix.exs

The entry point for the ElixirScript compilation process. Takes the given module(s) and compiles them and all modules and functions they use into JavaScript

The Foreign Function Interface (FFI) for interacting with JavaScript

This module defines macros and functions which implement JavaScript functionality that may not translate easily to Elixir. For instance, creating a new object

Exceptions

Mix Tasks

Mix compiler to allow mix to compile Elixirscript source files into JavaScript

A command-line interface to the elixirscript compiler