Pegger 1.1.4
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 (134.17 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.4 - 1.1"]

Documentation

Information

Meta information on the Pegger pod:

Published by
Steve Eynon
Organisation
Fantom-Factory Ltd
Pod file size
134.17 kB
Licence
ISC
Built on
28th Jul 2020
Source code
via Git at https://github.com/Fantom-Factory/afPegger
Depends on
sys
Referenced by
afHtmlParser, afMarkdownParser, afSlim
Javascript Compatible

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 7 releases of Pegger: