Skip to content

andoneve/lani

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lani

A new programming language in Rubinius. This is a project from the 2013 Rails Girls Summer of Code [http://www.railsgirlssummerofcode.org] by Team Rails Grrls [http://railsgrrls.tumblr.com or http://www.twitter.com/RailsGrrls @RailsGrrls]. We are beginners who are writing our own programming language in Rubinius and then writing a tutorial for beginners.

The documentation is traditionally bad for this topic, especially for beginners. Our goal is to change that! We want beginners to realize that they can write their own programming language and give them the tools and documentation to make it happen.

Installation

After installing Rubinius, install Lani as a gem:

$ gem install lani

Usage

$ lani -h
$ lani
ln> 3 + 3
# => 6

Development

Must download and install RVM. Now run rubinius:

$ rvm use rbx

To run the tests:

$ rake test

To regenerate the lexer grammar:

$ rake rexical:regenerate

To regenerate the parser grammar:

$ rake racc:regenerate 

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

New programming language in Rubinius.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages