haskell-exp-parser

Simple parser parser from Haskell to TemplateHaskell expressions https://github.com/emilaxelsson/haskell-exp-parser

Latest on Hackage:0.1.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Emil Axelsson
Maintained by emax@chalmers.se

This package defines a simple parser for a subset of Haskell expressions and patterns to the TemplateHaskell AST.

It provides a very lightweight alternative to the functions parseExp and parsePat from http://hackage.haskell.org/package/haskell-src-meta.

The following expressions are currently supported:

  • Variables

  • Integer and string literals

  • Prefix function application

  • Lists and tuples

The following patterns are currently supported:

  • Variables

comments powered byDisqus