Sha256: 6445e877900a779e0c36a51e5637bf10dca03038585ec13584d2c64e367b0cad

Contents?: true

Size: 985 Bytes

Versions: 3

Compression:

Stored size: 985 Bytes

Contents

[![Build Status](https://secure.travis-ci.org/farcaller/rly.png?branch=master)](http://travis-ci.org/farcaller/rly)

# Rly

Rly is a lexer and parser generator for ruby (O RLY?), based on ideas and solutions of
Python's [Ply](http://www.dabeaz.com/ply/) (in some places it's a total rip off actually).

## Installation

Install via rubygems

    gem install rly

## Usage

You need to create lexer and parser classes for each grammar you want to process.
It is commonly done by subclassing {Rly::Lex} and {Rly::Parse} classes (check the
appropriate docs).

You can also read the tutorials on the wiki:

 * [Calculator Tutorial Part 1: Basic lexer](https://github.com/farcaller/rly/wiki/Calculator-Tutorial-Part-1:-Basic-lexer)
 * [Calculator Tutorial Part 2: Basic parser](https://github.com/farcaller/rly/wiki/Calculator-Tutorial-Part-2:-Basic-parser)
 * [Calculator Tutorial Part 3: Advanced parser](https://github.com/farcaller/rly/wiki/Calculator-Tutorial-Part-3:-Advanced-parser)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rly-0.2.3 README.md
rly-0.2.2 README.md
rly-0.2.1 README.md