And then, remembering that everything has already been invented, I found this:
https://github.com/elixirscript/elixirscript
You're welcome.