Welcome to Peggy
Peggy Design
RubyForge Project

Peggy is an object oriented packrat parser library and language. It supports production grammars written in several languages, including two pure Ruby, a Parsing Expression Grammar (PEG) and my preferred grammar language. Packrat parsers are fast, flexible and need no lexer/scanner.

Download Peggy

I created this library for myself, for use in my other Ruby projects. But if others find it interesting or useful, that makes it better. I'm very interested in your feedback, if you use or evaluate it. Note: this software is provided as-is with no warrantees. If anyone would like to contribute time to help me in this project or to contribute their own enhancements, that would be greatly appreciated.

Credit: Peggy was inspired by the great papers published by Bryan Ford.

Copyright 2006, Troy D. Heninger, All Rights Reserved