Git Product home page Git Product logo

lani's Introduction

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

lani's People

Contributors

mokus80 avatar

Stargazers

Steve Chan avatar Sergei Zinin avatar Daniel Da Cunha avatar Mike Myat Min Han avatar Robert Maru de Vera avatar Justin-lu avatar Lincoln Lee avatar Toh Yong Cheng avatar Angus H. avatar Mark Villacampa avatar B1nj0y avatar Victor Borja avatar Mohammad Sadegh Khoeini avatar Aria Stewart avatar yawnt avatar Ashley Woodard avatar Tonći Galić avatar nykac avatar Manish Jhawar avatar Jonathan Geiger avatar  avatar Ben Fritsch avatar Denis Defreyne avatar Gosha Spark avatar Konstantin Haase avatar aIex quiterio avatar Brian Shirai avatar Jan Schulte avatar

Watchers

 avatar L avatar

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.