Giter Site home page Giter Site logo

elixirscript's Introduction

ElixirScript Documentation Build Deps Status

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 [email protected]:bryanjos/elixirscript.git

Get dependencies

mix deps.get
npm install

Compile

mix do std_lib, clean, compile

Test

mix test
npm test

Build

MIX_ENV=prod mix do clean, compile, std_lib, dist

This will build a tarball in the dist folder. By default the escript built will look into the folder above it for the core JavaScript files needed for ElixirScript. To change the location, update the lib_path config variable in the :elixir_script config block to the path to look in and then do a clean build.

Communication

#elixirscript on the elixir-lang Slack

Contributing

Please check the CONTRIBUTING.md

Example projects

Using with Brunch

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

1.0 Roadmap

There is a 1.0.0 Milestone defined which includes issues that are needed to be cleared before 1.0 can be reached.

elixirscript's People

Contributors

beingfrankly avatar bratsche avatar bryanjos avatar fazibear avatar halohalospecial avatar knewter avatar le6ow5k1 avatar richmorin avatar rrrene avatar scrogson avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.