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.
- Elixir
- Node (only for development)
Please check the Getting Started Guide for usage
Please check the FAQ
Clone the repo
git clone git@github.com:bryanjos/elixirscript.git
Get dependencies
mix deps.get
npm install
Compile
mix compile
Test
mix test
gulp test
Please check the CONTRIBUTING.md
- phoenix_chat_example The Pheonix Chat App using ElixirScript.
- MobileElixir Using ElixirScript with React Native
- color_bar_spike A canvas drawing example using ElixirScript, React and a Redux-like design
There is a plugin for using ElixirScript in your Brunch project here