The goal 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. This release includes one major addition and a number of important changes. ElixirScript.Test ElixirScript.Test is a framework for testing Elixir modules that interact with JavaScript via the FFI. For all other modules, ExUnit is still recommended. ElixirScript.Test’s API is similar to ExUnit’s API. ElixirScript.Test files must be placed in a folder named test_elixir_script. Tests are compiled and then are executed using node.js. ElixirScript can now take a path to compile. This is to support the compilation of modules defined in .exs files For more information regarding changes, please check the changelog.

Features

  • Requires Erlang 20 or greater
  • Requires Elixir 1.6 or greater (must be compiled with Erlang 20 or greater)
  • Requires Node 8.2.1 or greater (only for development)
  • Add dependency to your deps in mix.exs
  • Includes examples

Project Samples

Project Activity

See All Activity >

Categories

Compilers

License

MIT License

Follow ElixirScript

ElixirScript Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ElixirScript!

Additional Project Details

Programming Language

Elixir

Related Categories

Elixir Compilers

Registered

2022-05-25