You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-18Lines changed: 12 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,20 @@
1
-
## ElixirScript [](http://hexdocs.pm/elixir_script/)[](https://travis-ci.org/elixirscript/elixirscript)[](https://beta.hexfaktor.org/github/bryanjos/elixirscript)[](https://gitter.im/elixirscript/elixirscript?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
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](https://github.com/elixirscript/elixir-estree) library.
4
4
5
5
[Documentation for current release](http://hexdocs.pm/elixir_script/)
6
6
7
-
Requirements
8
-
===========
7
+
# Requirements
8
+
9
9
* Erlang 20 or greater
10
-
* Elixir 1.5 or greater (must be compiled with Erlang 20 or greater)
10
+
* Elixir 1.6 or greater (must be compiled with Erlang 20 or greater)
11
11
* Node 8.2.1 or greater (only for development)
12
12
13
-
Usage
14
-
========
13
+
# Usage
15
14
16
15
Add dependency to your deps in mix.exs:
17
16
18
-
```elixir
17
+
```elixir
19
18
{:elixir_script, "~> x.x"}
20
19
```
21
20
@@ -42,18 +41,17 @@ Also add `elixir_script` configuration
42
41
43
42
Run `mix compile`
44
43
45
-
46
-
Examples
47
-
==========
44
+
# Examples
48
45
49
46
### Application
47
+
50
48
[ElixirScript Todo Example](https://github.com/elixirscript/todo-elixirscript)
0 commit comments