RustScript2 is a functional scripting language written in OCaml with as much relation to Rust as JavaScript has to Java.

  • Expression based, fully functional language
  • Support for functional features such as first class/higher order functions, list comprehensions, and pattern matching
  • Treewalk interpreter that compiles to closures for improved performance
  • Tail-Call-Optimization through trampolines