Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A small PEG based parser library. See the Hacking page in the Wiki as well.
Ruby HTML CSS

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
lib
spec
LICENSE
README
Rakefile

README

A small experiment on PEG grammars. 

Other projects that work on the same topic are: 
http://wiki.github.com/luikore/rsec/
http://github.com/nathansobo/treetop

My goal here is to see how a parser/parser generator should be constructed to
allow clean AST construction and good error handling. It seems to me that most
often, parser generators only handle the success-case and forget about
debugging and error generation.

This is in a usable alpha state, although I've only just begun working on the
above goals. Maybe I will incorporate this into rooc
(http://github.com/kschiess/rooc) one day.

(c) 2010 Kaspar Schiess
Something went wrong with that request. Please try again.