Name:           preprocessor-tools
Version:        1.0.1
Cabal-Version:  >= 1.2.3
License:        BSD3
License-File:   LICENSE
Stability:      experimental
Author:         Jesse A. Tov <tov@eecs.harvard.edu>
Maintainer:     tov@eecs.harvard.edu
Homepage:       http://www.eecs.harvard.edu/~tov/pubs/haskell-session-types/
Category:       Source-tools, Language, Code Generation
Synopsis:       A framework for extending Haskell's syntax via quick-and-dirty preprocessors
Build-type:     Simple
Tested-with:    GHC == 7.4.1
Description:
        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.

Extra-Source-Files:
    TODO, CHANGELOG

Library
  Build-Depends:        mtl >=1 && <3,
                        parsec >=3 && <4,
                        base >=4 && <5,
                        syb >=0 && <1

  Exposed-modules:
    Language.Haskell.Preprocessor,
    Language.Haskell.Preprocessor.Ast,
    Language.Haskell.Preprocessor.Error,
    Language.Haskell.Preprocessor.Loc,
    Language.Haskell.Preprocessor.Parser,
    Language.Haskell.Preprocessor.Printer,
    Language.Haskell.Preprocessor.SynSpec,
    Language.Haskell.Preprocessor.Token,
    Language.Haskell.Preprocessor.Util
  Other-modules:
    Language.Haskell.Preprocessor.Lexer
  GHC-options: -Wall
