Skip to content

Commit 9a7bec4

Browse files
committed
Updated docs
1 parent 11e9400 commit 9a7bec4

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
ElixirScript
22
============
33

4+
[Documentation](http://hexdocs.pm/elixir_script/)
5+
46
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/bryanjos/elixir-estree) library.
57

68
It also includes an escript CLI utility named ex2js. This takes files or Elixir code strings as input and emits Spider Monkey AST or JavaScript code. The results may be sent to standard output or files, based on the options selected.

mix.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ defmodule ElixirScript.Mixfile do
4747
licenses: ["MIT"],
4848
links: %{
4949
"GitHub" => "https://github.com/bryanjos/elixirscript"
50-
}
50+
},
51+
build_tools: ["mix"]
5152
]
5253
end
5354

0 commit comments

Comments
 (0)