e01.org

Mirah (programming language)

Mirah (formerly Duby) has been a programming language based on Ruby language syntax, local type inference, hybrid static–dynamic type system, and a pluggable compiler toolchain. Mirah was created by Charles Oliver Nutter to be "a 'Ruby-like' language, probably a subset of Ruby syntax, that [could] compile to solid, fast, idiomatic JVM bytecode." The word refers to the gemstone ruby in the Javanese language, a play on the concept of Ruby in Java. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

Mirah (formerly Duby) has been a programming language based on Ruby language syntax, local type inference, hybrid static–dynamic type system, and a pluggable compiler toolchain. Mirah was created by Charles Oliver Nutter to be "a 'Ruby-like' language, probably a subset of Ruby syntax, that [could] compile to solid, fast, idiomatic JVM bytecode." The word refers to the gemstone ruby in the Javanese language, a play on the concept of Ruby in Java. Method parameters usually need to have their types declared: def foo(a:String, b:int) Because several transformations occur in the Mirah compiler toolchain, some strings that are valid identifiers in Ruby are treated as keywords in Mirah, such as the word interface used to specify a JVM-style interface. Outside of these differences, Mirah code generally looks like Ruby code: def fib(a:int) if a Introducing Duby, Ryan Brown "Ruby Mutants Presentation", Railsconf 2009 Dubious framework Video presentation: JRuby, Duby, and Surinx: Building a Better Ruby Video Lightning talk: Rails Underground 2009 - Charles Nutter on Charles Nutter - Duby and Juby Languages What does Mirah offer over JRuby, Groovy and Scala?

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Mirah (programming language)". 1731671632. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1257538925

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·