troglobite / rly

A simple ruby implementation of lex and yacc, based on Python's ply

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gem Version Build Status

Rly

Rly is a lexer and parser generator for ruby (O RLY?), based on ideas and solutions of Python's Ply (in some places it's a total rip off actually).

Release Notes

Release notes are available here.

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:

About

A simple ruby implementation of lex and yacc, based on Python's ply

License:MIT License


Languages

Language:Ruby 99.4%Language:HTML 0.6%