Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Yertle Jr is a Parsing Expression Grammar (PEG) and parser generator

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 examples
Octocat-spinner-32 test
Octocat-spinner-32 Makefile
Octocat-spinner-32 abstractor.js
Octocat-spinner-32 generator.js
Octocat-spinner-32 index.html
Octocat-spinner-32 yertle.json
Octocat-spinner-32 yertlejr.js

Yertle is:

A library of text matching primitives:

* De/Serializable from/to JSON
* Robust enough to implement Pure Regular Expressions
* match results contain source location information

An arrangement of those primitives which matches against a BNF-like grammar description.

An "Abstractor" that simplifies the match result, leaving ony named match groups in the tree

A "Generator" which takes an abstracted match result from the BNF-like grammar and creates a JSON parser description (making Yertle a meta-parser-generator! sadly, there it is not a generator generator, so it is not as powerful as META II, but I think you'll still like it.)

Something went wrong with that request. Please try again.