halohalospecial / elixirscript

Converts Elixir to JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ElixirScript Documentation Build

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

  • Elixir
  • Node (only for development)

Usage

Please check the Getting Started Guide for usage

FAQ, Limitations

Please check the FAQ

Development

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

Contributing

Please check the CONTRIBUTING.md

Example projects

Using with Brunch

There is a plugin for using ElixirScript in your Brunch project here

About

Converts Elixir to JavaScript

License:MIT License


Languages

Language:JavaScript 64.9%Language:Elixir 35.1%