https://github.com/mirah/mirah
The Mirah Programming Language
https://github.com/mirah/mirah
Last synced: 8 months ago
JSON representation
The Mirah Programming Language
- Host: GitHub
- URL: https://github.com/mirah/mirah
- Owner: mirah
- License: apache-2.0
- Created: 2010-08-11T22:44:13.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2018-10-02T08:50:57.000Z (about 7 years ago)
- Last Synced: 2025-03-05T00:24:32.120Z (9 months ago)
- Language: HTML
- Homepage: http://mirah.org
- Size: 53.5 MB
- Stars: 864
- Watchers: 41
- Forks: 62
- Open Issues: 140
-
Metadata Files:
- Readme: README.md
- Changelog: History.txt
- License: COPYING
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-programming-languages - Mirah - 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. (Uncategorized / Uncategorized)
- awesome-compilers - Mirah's Compiler - JVM-based Compiler for the Mirah Programming Language. (Compilers and Interpreters / Serious Projects)
README
Mirah
================
[](http://travis-ci.org/mirah/mirah)
* http://groups.google.com/group/mirah
* http://github.com/mirah/mirah/issues
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
mirah -e "inline script"
mirahc
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](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.mirah%22%20a%3A%22mirah%22).
### 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.