preprocessor-tools: A framework for extending Haskell's syntax via quick-and-dirty preprocessors

[ bsd3, code-generation, language, library, source-tools ] [ Propose Tags ]

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.

Versions 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.*), syb (==0.*) [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 Sat May 5 15:50:21 UTC 2018
Distributions FreeBSD:1.0.1, LTSHaskell:1.0.1, NixOS:2.0.2, openSUSE:1.0.1
Downloads 6654 total (97 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2018-05-05 [all 3 reports]
Hackage Matrix CI

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees