preprocessor-tools: A framework for extending Haskell's syntax via quick-and-dirty preprocessors
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.
Modules
- Language
- Haskell
- 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
- Language.Haskell.Preprocessor
- Haskell
Downloads
- preprocessor-tools-2.0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1, 0.1.1, 0.1.2, 0.1.3, 1.0, 1.0.1, 2.0.0, 2.0.1, 2.0.2 |
---|---|
Change log | CHANGELOG |
Dependencies | base (>=4.11 && <5), mtl (>=1 && <3), parsec (>=3 && <4), syb (<1) [details] |
License | BSD-3-Clause |
Author | Jesse A. Tov <jesse@eecs.northwestern.edu> |
Maintainer | jesse@eecs.northwestern.edu |
Category | Source-tools, Language, Code Generation |
Home page | https://github.com/tov/preprocessor-tools-hs |
Uploaded | by JesseTov at 2018-05-05T15:50:21Z |
Distributions | FreeBSD:1.0.1, NixOS:2.0.2 |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 11956 total (16 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] All reported builds failed as of 2018-05-05 [all 3 reports] |