All Projects → elixirscript → Elixirscript

elixirscript / Elixirscript

Licence: mit
Converts Elixir to JavaScript

Programming Languages

javascript
184084 projects - #8 most used programming language
elixir
2628 projects
Makefile
30231 projects

Projects that are alternatives of or similar to Elixirscript

Retyped
Access 3600+ libraries from C# and let Bridge.NET compile your project into JavaScript.
Stars: ✭ 216 (-85.64%)
Mutual labels:  compiler, transpiler
Haxe
Haxe - The Cross-Platform Toolkit
Stars: ✭ 4,665 (+210.17%)
Mutual labels:  compiler, transpiler
Ratel Core
High performance JavaScript to JavaScript compiler with a Rust core
Stars: ✭ 367 (-75.6%)
Mutual labels:  compiler, transpiler
Godzilla
Godzilla is a ES2015 to Go source code transpiler and runtime
Stars: ✭ 1,464 (-2.66%)
Mutual labels:  compiler, transpiler
Elchemy
Write Elixir code using statically-typed Elm-like syntax (compatible with Elm tooling)
Stars: ✭ 1,080 (-28.19%)
Mutual labels:  compiler, transpiler
Transcrypt
Python 3.7 to JavaScript compiler - Lean, fast, open! -
Stars: ✭ 2,502 (+66.36%)
Mutual labels:  compiler, transpiler
Bytecoder
Rich Domain Model for JVM Bytecode and Framework to interpret and transpile it.
Stars: ✭ 401 (-73.34%)
Mutual labels:  compiler, transpiler
Crossshader
⚔️ A tool for cross compiling shaders. Convert between GLSL, HLSL, Metal Shader Language, or older versions of GLSL.
Stars: ✭ 113 (-92.49%)
Mutual labels:  compiler, transpiler
Typescripttolua
Typescript to lua transpiler. https://typescripttolua.github.io/
Stars: ✭ 783 (-47.94%)
Mutual labels:  compiler, transpiler
J2cl
Java to Closure JavaScript transpiler
Stars: ✭ 773 (-48.6%)
Mutual labels:  compiler, transpiler
Wax
A tiny programming language that transpiles to C, C++, Java, TypeScript, Python, C#, Swift, Lua and WebAssembly 🚀
Stars: ✭ 373 (-75.2%)
Mutual labels:  compiler, transpiler
Fetlang
Fetish-themed programming language
Stars: ✭ 1,337 (-11.1%)
Mutual labels:  compiler, transpiler
Nimporter
Compile Nim Extensions for Python On Import!
Stars: ✭ 474 (-68.48%)
Mutual labels:  compiler, transpiler
Jsweet
A Java to JavaScript transpiler.
Stars: ✭ 1,167 (-22.41%)
Mutual labels:  compiler, transpiler
Evm2wasm
[ORPHANED] Transcompiles EVM code to eWASM
Stars: ✭ 96 (-93.62%)
Mutual labels:  compiler, transpiler
Parcel
The zero configuration build tool for the web. 📦🚀
Stars: ✭ 39,670 (+2537.63%)
Mutual labels:  compiler
Kotlin
The Kotlin Programming Language.
Stars: ✭ 39,664 (+2537.23%)
Mutual labels:  compiler
Haste Compiler
A GHC-based Haskell to JavaScript compiler
Stars: ✭ 1,429 (-4.99%)
Mutual labels:  compiler
Brain
An esoteric programming language compiler on top of LLVM based on Brainfuck
Stars: ✭ 112 (-92.55%)
Mutual labels:  compiler
Futhark
💥💻💥 A data-parallel functional programming language
Stars: ✭ 1,641 (+9.11%)
Mutual labels:  compiler

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.

Documentation for current release

Requirements

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

Usage

Add dependency to your deps in mix.exs:

{:elixir_script, "~> x.x"}

Add elixir_script to list of mix compilers in mix.exs Also add elixir_script configuration

  def project do
  [
    app: :my_app,
    # ...
    # Add elixir_script as a compiler
    compilers: Mix.compilers ++ [:elixir_script],
    # Our elixir_script configuration
    elixir_script: [
        # Entry module. Can also be a list of modules
        input: MyEntryModule,
        # Output path. Either a path to a js file or a directory
        output: "priv/elixir_script/build/elixirscript.build.js"
    ]
  ]
  end

Run mix compile

Examples

Application

ElixirScript Todo Example

Library

ElixirScript React

Starter kit

Elixirscript Starter Kit

Development

# Clone the repo
git clone [email protected]:bryanjos/elixirscript.git

#Get dependencies
make deps

# Compile
make

# Test
make test

Communication

#elixirscript on the elixir-lang Slack

Contributing

Please check the CONTRIBUTING.md

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].