Mirah is a statically typed programming language with ruby-like syntax. Mirah code can compile to Java bytecode.
Mirah a is statically typed programming language. The language employs a technique called local type inference. Mirah is a pluggable compiler toolchain, making it possible to write language plugins for Mirah's transformation phase during compiling. Mirah includes a typer/compiler backend for the JVM. Mirah syntax is largely the same as the syntax of Ruby. Charles Nutter, creator of Mirah, is also a lead developer of JRuby. Mirah does not impose a specific type system on users, instead relying on whatever the target backend provides. Because Mirah is statically typed, Mirah code compiled to java bytecode, has performance almost identical to Java code. Mirah has been actively developed since 2008.
Design
- Pluggable type inference, compilation and checking.
- No additional runtime library. Maps straight to the JVM runtime.
- Extensible backend allowing for new output targets; CLR, C, others.
External Links
Article about Mirah by Charles Nutter
Notable Stackoverflow question. What does Mirah offer over JRuby,Groovy and Scala?.