On this page

The hacker scripts in Scala

You may have read or heard about that amazing true story about a hacker scripts which inspired hackers who enjoy living inside the terminal!

Those scripts are implemented in other languages by the community as well. So I implemented the coffee machine script using Ammonite-Shell in Scala. It really feels like a scripting language but without losing type safety!

Here is some points about Ammonite:

  • It's super easy to install
  • If you know Scala you know Ammonite-Shell
  • To run your Scala script file from bash you must import ammonite.ops.ImplicitWd._
  • If you need help you can join Ammonite Gitter channel

Let's implement other scripts...