This library provides a quick-and-dirty (but often effective) method for extending Haskell's syntax using a custom preprocessor. It parses Haskell into a bare-bones AST with just enough knowledge of the syntax to preserve nesting, and then allows transformations on the AST.

See the package ixdopp (http://hackage.haskell.org/cgi-bin/hackage-scripts/package/ixdopp) for an example of how to do this.

Changes

1.0.1 (2013/01/23)
- Changed type of transformer from [Ast] -> [Ast] to [Ast] -> IO [Ast]
(as suggested by John MacFarlane)

0.1.2 (2011/01/30)
- Updated for GHC 7 (Thanks to Yusaku HASHIMOTO)

0.1.1 (2009/04/25)
- Updated for GHC 6.10

0.1 (2008/09/26)
- Initial release
Depends on 4 packages:
Used by 3 packages:
comments powered byDisqus