Questions tagged [mirah]

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

19 questions
1
vote
2 answers

JVM languages for J2ME platform

I'm currently writing an embedded application for J2ME environment (CLDC 1.1 configuration and IMP-NG profile). Being spoiled by all those new features in JVM-based languages (Groovy, Scala, Clojure, you name it), I was considering using one of them…
pwes
  • 2,040
  • 21
  • 30
0
votes
1 answer

Error while trying to execute an example mirah script?

$ ../bin/mirah -e fib.mirah Inference Error: Cannot find static method fib() on DashE DashE:1: Cannot find static method fib() on DashE Got this while trying to run the mirah script that is grabbed from the examples folder. How can I fix this,…
nubela
  • 1
  • 24
  • 75
  • 123
0
votes
0 answers

Cant "Hello World" in Mirah programming language

I'm a Computer Science student, and in one of the courses every student gets his own programming language to use through the entire course. I got Mirah programming language. The thing is, I followed this link:…
Elyasaf755
  • 2,239
  • 18
  • 24
0
votes
1 answer

What does 'Don't know how to build task 'bootstrap' mean?

I was trying to build Mirah, following the instructions here. On the step 'rake gem', I got several warnings and a failure notice. A sample of the output follows: warning:…
philosodad
  • 1,808
  • 14
  • 24
1
2