Name: preprocessor-tools Version: 2.0.0 Cabal-Version: >= 1.2.3 License: BSD3 License-File: LICENSE Stability: experimental Author: Jesse A. Tov Maintainer: jesse@eecs.northwestern.edu Homepage: https://github.com/tov/preprocessor-tools-hs 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 == 8.4.2 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 () 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