3 ms·
Can you write general purpose scripts in Elixir like in Ruby or Python?
by FlyingSnake 4y ago
Can you write general purpose scripts in Elixir like in Ruby or Python?
- xibo9 4y agoYup, you can write standalone Elixir scripts. Running "elixir myscript.exs" gives you that.
- krnsi 4y agoAnd with Mix.install/2 [0] you have access to the entire ecosystem. Here are a few examples: https://github.com/wojtekmach/mix_install_examples https://github.com/wojtekmach/mix_install_examples [0]: https://hexdocs.pm/mix/1.12.3/Mix.html#install/2 https://hexdocs.pm/mix/1.12.3/Mix.html#install/2