preprocessor-tools: A framework for extending Haskell's syntax via quick-and-dirty preprocessors

[ 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, 2.0.0, 2.0.1, 2.0.2
Change log CHANGELOG
Dependencies base (==4.*), haskell98 (==1.*), mtl (>=1 && <3), parsec (==2.*), syb (==0.*) [details]
License BSD-3-Clause
Author Jesse A. Tov <>
Category Source-tools, Language, Code Generation
Home page
Uploaded by JesseTov at Sun Jan 30 22:20:46 UTC 2011
Distributions FreeBSD:1.0.1, LTSHaskell:1.0.1, NixOS:2.0.2, openSUSE:1.0.1
Downloads 6730 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