The preprocessor-tools package
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.
Properties
| Versions | 0.1, 0.1.1, 0.1.2 |
|---|---|
| Dependencies | base (3.*), haskell98 (1.*), mtl (1.*), parsec (2.*) |
| License | BSD3 |
| Author | Jesse A. Tov <tov@ccs.neu.edu> |
| Maintainer | tov@ccs.neu.edu |
| Stability | experimental |
| Category | Source-tools, Language, Code Generation |
| Home page | http://www.ccs.neu.edu/~tov/pubs/haskell-session-types |
| Upload date | Sun Apr 26 03:47:02 UTC 2009 |
| Uploaded by | JesseTov |
| Built on | ghc-6.10, ghc-6.12 |
| Build failure | ghc-7.0 (log) |
Modules
- Language
Downloads
- preprocessor-tools-0.1.1.tar.gz (Cabal source package)
- package description (included in the package)