[Haskell-cafe] Generating AST using Parsec

CK Kashyap ck_kashyap at yahoo.com
Sun Dec 27 05:18:10 EST 2009

Hi All,
I recently came across the paper titled "Monadic Parser Combinators" - After going through it a few times, I think I am beginning to understand monads.
However, the parser developed in the paper does not generate an AST - I feel, I'd grasp the whole thing a lot better if I could go over a sample that generates an AST from a simple expression (or even a standard language such as C or Java) ... Can someone please point me to a sample that generates AST - preferably with the simple parser combinator given in the paper.


More information about the Haskell-Cafe mailing list