headius/mirah
{ "createdAt": "2010-07-07T18:36:39Z", "defaultBranch": "master", "description": "Mirah has moved to http://github.com/mirah/mirah", "fullName": "headius/mirah", "homepage": "http://github.com/mirah/mirah", "language": "Ruby", "name": "mirah", "pushedAt": "2011-03-21T03:24:29Z", "stargazersCount": 115, "topics": [], "updatedAt": "2025-05-08T16:21:06Z", "url": "https://github.com/headius/mirah"}DESCRIPTION
Section titled “DESCRIPTION”Mirah is a customizable programming language featuring static types, local type inference and a heavily Ruby-inspired syntax. Mirah currently includes a typer/compiler backend for the JVM which can output JVM bytecode.
FEATURES
Section titled “FEATURES”- Ruby-like syntax
- Compiles to .class
- Fast as Java
- No runtime library
SYNOPSIS
Section titled “SYNOPSIS”mirah <script.mirah>mirah -e "inline script"mirahc <script.mirah>mirahc -e "inline script" # produces DashE.classREQUIREMENTS
Section titled “REQUIREMENTS”- Java 1.7 or higher.
INSTALL
Section titled “INSTALL”If your gem and rake are not from JRuby, prefix the commands with jruby -S
$ gem install mirahMirah is distributed as a jar through maven central. You can download the latest jar from maven.org.
You can also install Mirah from a zip file. Download the latest stable
release from https://github.com/mirah/mirah/releases.
Extract it, and add bin to your $PATH to be able to use mirah, mirahc, etc.
SOURCE
Section titled “SOURCE”Setup building locally and installing from source, you’ll need jruby 1.7.12 or higher. Then just follow these commands.
To get the repository setup locally run the following:
Section titled “To get the repository setup locally run the following:”$ git clone http://github.com/mirah/mirah.git$ cd mirah$ bundle installTo install mirah as a gem from source:
Section titled “To install mirah as a gem from source:”$ rake gem$ gem install pkg/mirah-*.gemTo create the mirahc jar:
Section titled “To create the mirahc jar:”$ rake dist/mirahc.jarThis will create a mirahc.jar file in dist that you can run to compile mirah source files. 404: Not Found
