Pegger 1.1.0
Parsing Expression Grammar (PEG) for when Regular Expressions just aren't enough!

Parsing Expression Grammar (PEG) for when Regular Expressions just aren't enough!

Pegger is a Parsing Expression Grammar (PEG) implementation. It lets you create text parsers by building up a tree of simple matching rules.

Advanced parsing options let you look ahead with predicates and the returned tree of match results gives you plenty of options for transforming it into useful data.

Pegger was inspired by Mouse, Parboiled, and nim pegs.

Read more...

Install

To install Pegger with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install Pegger with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/ directory.

afPegger.pod (128.88 kB)

Use

To use Pegger in a Fantom project, add a dependency to the project's build.fan:

depends = ["sys 1.0", ..., "afPegger 1.1.0 - 1.1"]

Documentation

Information

Meta information on the Pegger pod:

Published by
Steve Eynon
Organisation
Alien-Factory
Pod file size
128.88 kB
Licence
ISC
Built on
16th Jun 2019
Source code
via Git at https://github.com/SlimerDude/afPegger
Depends on
sys
Referenced by
afHtmlParser
Javascript Compatible

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 5 releases of Pegger: