The preprocessor-tools package

[Tags:bsd3, library]

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 ( for an example of how to do this.


Versions 0.1, 0.1.1, 0.1.2, 0.1.3, 1.0, 1.0.1
Change log CHANGELOG
Dependencies base (==4.*), mtl (>=1 && <3), parsec (==3.*), syb (==0.*) [details]
License BSD3
Author Jesse A. Tov <>
Category Source-tools, Language, Code Generation
Home page
Uploaded Wed Jan 23 22:12:53 UTC 2013 by JesseTov
Distributions FreeBSD:1.0.1, LTSHaskell:1.0.1, NixOS:1.0.1, Stackage:1.0.1, Tumbleweed:1.0.1
Downloads 5041 total (71 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees