The preprocessor-tools package

[ Tags: bsd3, code-generation, language, library, source-tools ] [ Propose Tags ]

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 Sat Dec 8 20:14:08 UTC 2012 by JesseTov
Distributions FreeBSD:1.0.1, LTSHaskell:1.0.1, NixOS:1.0.1, Stackage:1.0.1, openSUSE:1.0.1
Downloads 6481 total (70 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees