@hackage / preprocessor-tools

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

Latest2.0.2

About

Metadata

  • Last updated , by JesseTov
  • License BSD-3-Clause
  • Categories FFI
  • Maintained by: jesse@eecs.northwestern.edu

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 8.4.2

Readme

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.