Join 10350+ others. No spamming.
I promise!

Follow us at github.



elixirscript/elixirscript

902

elixirscript / elixirscript

Elixir

Converts Elixir to JavaScript


READ ME

ElixirScript Documentation Build Deps Status Join the chat at https://gitter.im/elixirscript/elixirscript

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.

Requirements

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

Usage

Please check the Getting Started Guide for usage

Development

# Clone the repo
git clone git@github.com:bryanjos/elixirscript.git

#Get dependencies
mix deps.get
yarn

# Create ElixirScript.Core.js
yarn build

# Compile
mix compile

# Test
mix test
yarn test

Communication

gitter room

#elixirscript on the elixir-lang Slack

Contributing

Please check the CONTRIBUTING.md