Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Web tooling and visualization functions supporting the exploratory parsing of semi-structured text.
C Ruby JavaScript Shell Perl
branch: master
Failed to load latest commit information.
views touch up 1.9-fixes
.gitignore ignore noise from mac & vi
LICENSE.txt Fixed some munged text in MIT License AboutUs contribution Fixed some munged text in MIT License
gdb.txt AboutUs contribution
parse.c interface for binding numbers as well as yytext
server.rb give run time to start and maybe even finish AboutUs contribution
tally.c AboutUs contribution
tally.h AboutUs contribution

Exploratory Parsing

Exploratory parsing is a way to discover structure within semi-structured data.


Build and install exploring version of peg/leg.

git clone git://
cd pegleg
sudo make install

Install dependencies.

gem install sinatra
gem install haml
gem install diffy

Download sample data.

sh scripts/

Launch the server.

ruby server.rb


Enter the following parser. Choose Factbook. Press Run.

char = letter | number | other-char
letter = << [a-zA-Z] >>
number = << [0-9] >>
other-char = << . >>

A new Run appears. Refresh the page to see it advance.

Click the Run number to see output. Click on counts to see sample matches.


Licensed under the MIT License.

Something went wrong with that request. Please try again.