[Haskell-cafe] ANN: Peggy 0.2.1

Issac Trotts issac.trotts at gmail.com
Sun Oct 2 10:16:00 CEST 2011


I love the concise syntax and useful examples. Thank you!

On Wed, Sep 28, 2011 at 12:53 PM, Hideyuki Tanaka <tanakh at preferred.jp>wrote:

> Hello, all.
>
> I have released 'Peggy' a new parser generator .
> It is based on Parsing Expression Grammer (PEG) [1],
> and generates efficient packrat parsers.
>
> # Where to get it
>
> * Hackage page (http://hackage.haskell.org/package/peggy)
> * github repository (https://github.com/tanakh/peggy).
> * Some documents are at (http://tanakh.github.com/Peggy/).
>
> # Advantage
>
> * Simple and Powerful syntax
> * No shift/reduce conflict
> * Unlimited look-ahead
>  * You don't need to prepare separated Scanner
> * Linear time complexity
> * Based on modern Haskell ecosystem (bytestring, text, ListLike, Monads,
> etc...)
> * Support to use and generate Quasi Quoters
>
> # Examples
>
> Here are few example of parsers:
>
> * http://tanakh.github.com/Peggy/example.html
> * https://github.com/tanakh/Peggy/blob/master/example/Json.hs
>
> There is a self defined parser of peggy syntax, used for bootstrapping:
>
> * https://github.com/tanakh/Peggy/blob/master/bootstrap/peggy.peggy
>
> Please try it and give me feedbacks!
> Thanks,
>
> [1]: http://en.wikipedia.org/wiki/Parsing_expression_grammar
>
> --
> Hideyuki Tanaka
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111002/8d5e42f0/attachment.htm>


More information about the Haskell-Cafe mailing list