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, 0.1.3, 1.0, 1.0.1 |
|---|---|
| Dependencies | base (4.*), mtl (≥1 & <3), parsec (3.*), syb (0.*) |
| License | BSD3 |
| Author | Jesse A. Tov <tov@eecs.harvard.edu> |
| Maintainer | tov@eecs.harvard.edu |
| Stability | experimental |
| Category | Source-tools, Language, Code Generation |
| Home page | http://www.eecs.harvard.edu/~tov/pubs/haskell-session-types/ |
| Upload date | Wed Jan 23 22:20:21 UTC 2013 |
| Uploaded by | JesseTov |
| Built on | ghc-7.6 |
Modules
- Language
Downloads
- preprocessor-tools-1.0.1.tar.gz (Cabal source package)
- package description (included in the package)