ExLua
Lua for Elixir.
Examples
[42.0] = Lua.State.new |> Lua.eval!("return 6 * 7")
Installation
Add exlua
to your list of dependencies in your project’s mix.exs
file:
defp deps do
[{:exlua, "~> 0.1.0"}]
end
Alternatively, to pull in the dependency directly from a Git tag:
defp deps do
[{:exlua, github: "bendiken/exlua", tag: "0.1.0"}]
end
Alternatively, to pull in the dependency directly from a Git branch:
defp deps do
[{:exlua, github: "bendiken/exlua", branch: "master"}]
end