@hackage haskell-exp-parser0.1

Simple parser parser from Haskell to TemplateHaskell expressions

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