https://eggbox.fantomfactory.org/pods/afPegger/feed.atomPegger VersionsVersion history for Pegger2023-09-03T12:40:41+01:00afAtomhttps://eggbox.fantomfactory.org/pods/afPeggerPegger v1.1.8 Released!2023-09-03T12:40:41+01:00Fantom-Factory Ltdhttps://www.fantomfactory.com/<div class="fandoc"><p>Parsing Expression Grammar (PEG) for when Regular Expressions just aren't enough!</p><p>Pegger is a <a class="externalLink" href="http://pdos.csail.mit.edu/~baford/packrat/popl04/peg-popl04.pdf">Parsing Expression Grammar (PEG)</a> implementation. It lets you create text parsers by building up a tree of simple matching <a href="/pods/afPegger/api/Rules">rules</a>.</p><p>Advanced parsing options let you <i>look ahead</i> with predicates, and throw errors to fail fast.</p><p>Pegger has been used (by Fantom Factory) to parse HTML, CSS, Markdown, and ANBF - to name but a few. The general strategy is usually:</p><ol style="list-style-type: decimal"><li>Create a structure of Fantom data classes</li><li>Create a grammar to parse text documents into a node tree</li><li>Trim the tree by removing labels and branches, so the tree resembles the structure of the Fantom classes</li><li>Walk the tree, recursively creating corresponding data classes</li></ol><p>Pegger was inspired by <a class="externalLink" href="http://www.romanredz.se/papers/CSP2009.Mouse.pdf">Mouse</a>, <a class="externalLink" href="https://github.com/sirthias/parboiled/wiki">Parboiled</a> for Java, and <a class="externalLink" href="https://nim-lang.org/docs/pegs.html">pegs</a> for NIM.</p></div>https://eggbox.fantomfactory.org/pods/afPegger/1.1.6Pegger v1.1.6 Released!2023-04-14T11:12:11+01:00Fantom-Factory Ltdhttps://www.fantomfactory.com/<div class="fandoc"><p>Parsing Expression Grammar (PEG) for when Regular Expressions just aren't enough!</p><p>Pegger is a <a class="externalLink" href="http://pdos.csail.mit.edu/~baford/packrat/popl04/peg-popl04.pdf">Parsing Expression Grammar (PEG)</a> implementation. It lets you create text parsers by building up a tree of simple matching <a href="/pods/afPegger/1.1.6/api/Rules">rules</a>.</p><p>Advanced parsing options let you <i>look ahead</i> with predicates and the returned tree of match results gives you plenty of options for transforming it into useful data.</p><p>Pegger was inspired by <a class="externalLink" href="http://www.romanredz.se/papers/CSP2009.Mouse.pdf">Mouse</a>, <a class="externalLink" href="https://github.com/sirthias/parboiled/wiki">Parboiled</a>, and <a class="externalLink" href="https://nim-lang.org/docs/pegs.html">nim pegs</a>.</p></div>https://eggbox.fantomfactory.org/pods/afPegger/1.1.4Pegger v1.1.4 Released!2020-07-28T00:30:45+01:00Fantom-Factory Ltdhttps://www.fantomfactory.com/<div class="fandoc"><p>Parsing Expression Grammar (PEG) for when Regular Expressions just aren't enough!</p><p>Pegger is a <a class="externalLink" href="http://pdos.csail.mit.edu/~baford/packrat/popl04/peg-popl04.pdf">Parsing Expression Grammar (PEG)</a> implementation. It lets you create text parsers by building up a tree of simple matching <a href="/pods/afPegger/1.1.4/api/Rules">rules</a>.</p><p>Advanced parsing options let you <i>look ahead</i> with predicates and the returned tree of match results gives you plenty of options for transforming it into useful data.</p><p>Pegger was inspired by <a class="externalLink" href="http://www.romanredz.se/papers/CSP2009.Mouse.pdf">Mouse</a>, <a class="externalLink" href="https://github.com/sirthias/parboiled/wiki">Parboiled</a>, and <a class="externalLink" href="https://nim-lang.org/docs/pegs.html">nim pegs</a>.</p></div>https://eggbox.fantomfactory.org/pods/afPegger/1.1.2Pegger v1.1.2 Released!2020-04-16T12:34:42+01:00Alien-Factoryhttp://www.alienfactory.co.uk/<div class="fandoc"><p>Parsing Expression Grammar (PEG) for when Regular Expressions just aren't enough!</p><p>Pegger is a <a class="externalLink" href="http://pdos.csail.mit.edu/~baford/packrat/popl04/peg-popl04.pdf">Parsing Expression Grammar (PEG)</a> implementation. It lets you create text parsers by building up a tree of simple matching <a href="/pods/afPegger/1.1.2/api/Rules">rules</a>.</p><p>Advanced parsing options let you <i>look ahead</i> with predicates and the returned tree of match results gives you plenty of options for transforming it into useful data.</p><p>Pegger was inspired by <a class="externalLink" href="http://www.romanredz.se/papers/CSP2009.Mouse.pdf">Mouse</a>, <a class="externalLink" href="https://github.com/sirthias/parboiled/wiki">Parboiled</a>, and <a class="externalLink" href="https://nim-lang.org/docs/pegs.html">nim pegs</a>.</p></div>https://eggbox.fantomfactory.org/pods/afPegger/1.1.0Pegger v1.1.0 Released!2019-06-16T14:23:20+01:00Alien-Factoryhttp://www.alienfactory.co.uk/<div class="fandoc"><p>Parsing Expression Grammar (PEG) for when Regular Expressions just aren't enough!</p><p>Pegger is a <a class="externalLink" href="http://pdos.csail.mit.edu/~baford/packrat/popl04/peg-popl04.pdf">Parsing Expression Grammar (PEG)</a> implementation. It lets you create text parsers by building up a tree of simple matching <a href="/pods/afPegger/1.1.0/api/Rules">rules</a>.</p><p>Advanced parsing options let you <i>look ahead</i> with predicates and the returned tree of match results gives you plenty of options for transforming it into useful data.</p><p>Pegger was inspired by <a class="externalLink" href="http://www.romanredz.se/papers/CSP2009.Mouse.pdf">Mouse</a>, <a class="externalLink" href="https://github.com/sirthias/parboiled/wiki">Parboiled</a>, and <a class="externalLink" href="https://nim-lang.org/docs/pegs.html">nim pegs</a>.</p></div>https://eggbox.fantomfactory.org/pods/afPegger/1.0.0Pegger v1.0.0 Released!2019-06-12T13:14:26+01:00Alien-Factoryhttp://www.alienfactory.co.uk/<div class="fandoc"><p>Parsing Expression Grammar (PEG) for when Regular Expressions just aren't enough!</p><p>Pegger is a <a class="externalLink" href="http://pdos.csail.mit.edu/~baford/packrat/popl04/peg-popl04.pdf">Parsing Expression Grammar (PEG)</a> implementation. It lets you create text parsers by building up a tree of simple matching <a href="/pods/afPegger/1.0.0/api/Rules">rules</a>.</p><p>Advanced parsing options let you <i>look ahead</i> with predicates and the returned tree of match results gives you plenty of options for transforming it into useful data.</p><p>Pegger was inspired by <a class="externalLink" href="http://www.romanredz.se/papers/CSP2009.Mouse.pdf">Mouse</a> and <a class="externalLink" href="https://github.com/sirthias/parboiled/wiki">Parboiled</a>.</p></div>https://eggbox.fantomfactory.org/pods/afPegger/0.1.0Pegger v0.1.0 Released!2016-02-20T10:44:23.194ZAlien-Factoryhttp://www.alienfactory.co.uk/<div class="fandoc"><p>For when Regular Expressions just aren't enough!</p><p>Pegger is a <a class="externalLink" href="http://pdos.csail.mit.edu/~baford/packrat/popl04/peg-popl04.pdf">Parsing Expression Grammar (PEG)</a> implementation. It lets you create text parsers by building up a tree of simple matching <a href="/pods/afPegger/0.1.0/api/Rules">rules</a>.</p><p>Pegger was inspired by <a class="externalLink" href="http://www.romanredz.se/papers/CSP2009.Mouse.pdf">Mouse</a> and <a class="externalLink" href="https://github.com/sirthias/parboiled/wiki">Parboiled</a>.</p></div>https://eggbox.fantomfactory.org/pods/afPegger/0.0.4Pegger v0.0.4 Released!2015-03-09T12:42:33.516ZAlien-Factoryhttp://www.alienfactory.co.uk/<div class="fandoc"><p>For when Regular Expressions just aren't enough!</p><p>Pegger is a <a class="externalLink" href="http://pdos.csail.mit.edu/~baford/packrat/popl04/peg-popl04.pdf">Parsing Expression Grammar (PEG)</a> implementation. It lets you build text parsers by building up a tree of simple matching <a href="/pods/afPegger/0.0.4/api/Rules">rules</a>.</p><p>Pegger was inspired by <a class="externalLink" href="http://www.romanredz.se/papers/CSP2009.Mouse.pdf">Mouse</a> and <a class="externalLink" href="https://github.com/sirthias/parboiled/wiki">Parboiled</a>.</p></div>https://eggbox.fantomfactory.org/pods/afPegger/0.0.2Pegger v0.0.2 Released!2014-09-26T12:51:22.59+01:00Alien-Factoryhttp://www.alienfactory.co.uk/<div class="fandoc"><p><i>Pegger is a support library that aids Alien-Factory in the development of other libraries, frameworks and applications. Though you are welcome to use it, you may find features are missing and the documentation incomplete.</i></p><p>For when Regular Expressions just aren't enough!</p><p><code>Pegger</code> is a <a class="externalLink" href="http://pdos.csail.mit.edu/~baford/packrat/popl04/peg-popl04.pdf">Parsing Expression Grammar (PEG)</a> implementation. It lets you build text parsers by building up a tree of simple matching <a href="/pods/afPegger/0.0.2/api/Rules">rules</a>.</p><p><code>Pegger</code> was inspired by <a class="externalLink" href="http://www.romanredz.se/papers/CSP2009.Mouse.pdf">Mouse</a> and <a class="externalLink" href="https://github.com/sirthias/parboiled/wiki">Parboiled</a>.</p></div>