by Charles Oliver Nutter
A language featuring static types, local type inference and a heavily Ruby-inspired syntax.

Mirah (formerly Duby) is a new experimental language born out of the JRuby project, in order to make implementing Ruby on the JVM easier and more approachable for Java and Ruby developers alike.

Charles Oliver Nutter wanted to create a language that essentially looked like Ruby, but was statically typed and compiled to fast JVM bytecode.

Mirah is the result.

The word "mirah" means "ruby" in Javanese, the language of the island of Java.

# Fibonacci 
def fib(a:fixnum):fixnum
   if a < 2
     a
   else
     fib(a - 1) + fib(a - 2)
   end
 end
Information updated 02/05/14
View Comments