Pegex Resources

The best way to learn about Pegex, is to look at projects that currently use it.

This document attempts to name as many interesting Pegex things as possible.

IRC Channel

Many of the people who are actively developing Pegex, hangout on the #pegex IRC channel on Stop by. We'd love to chat with you!

Note, if you are unfamiliar with IRC, there's a really simple way to get started. Simply click this link: Then, Just enter a nickname, enter '#pegex' for the channel, and enter the captcha. You will be connected and you type stuff in the input box at the bottom of the screen. After you type something, hit the Enter key, and your text will be sent. Try it!

The examples Directory

The Pegex git-repository/code-base is here: It contains a directory of example parsers:

This an arithmetic expression parser and evaluator. It uses the precedence climbing method to deal with operator precedence.

This is the same as above, except it uses a precedence table, and the shunting yard algorithm, to handle precedence.

Pegex Grammar Repositories

Module Repositories