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

Version on this page:1.0.1
LTS Haskell 11.22:1.0.1
Stackage Nightly 2018-03-12:1.0.1
Latest on Hackage:2.0.2

See all snapshots preprocessor-tools appears in

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.

Depends on 4 packages(full list with versions):
Used by 1 package in lts-9.21(full list with versions):