Coder Social home page Coder Social logo

Mirah

Build Status

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

  • Ruby-like syntax
  • Compiles to .class
  • Fast as Java
  • No runtime library

SYNOPSIS

mirah <script.mirah>
mirah -e "inline script"
mirahc <script.mirah>
mirahc -e "inline script" # produces DashE.class

REQUIREMENTS

  • Java 1.7 or higher.

INSTALL

RUBY

If your gem and rake are not from JRuby, prefix the commands with jruby -S

$ gem install mirah

JAR

Mirah is distributed as a jar through maven central. You can download the latest jar from maven.org.

ZIP

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

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:

$ git clone http://github.com/mirah/mirah.git
$ cd mirah
$ bundle install

To install mirah as a gem from source:

$ rake gem
$ gem install pkg/mirah-*.gem

To create the mirahc jar:

$ rake dist/mirahc.jar

This will create a mirahc.jar file in dist that you can run to compile mirah source files.

The Mirah Community's Projects

dubious icon dubious

A Web Framework Written in Mirah for running on AppEngine

mirah icon mirah

The Mirah Programming Language

mirah_model icon mirah_model

A library written in Mirah for google appengine's datastore

mmeta icon mmeta

A parser generator tool for Mirah.

pindah icon pindah

Tools for building Android applications with Mirah

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.