The BirdPP package

[Tags:gpl, program]

Literate preprocessor that allows intuitive Haddock comments.


[Skip to Readme]

Properties

Versions 1.0, 1.1
Dependencies base (>=2 && <4), haskell98 [details]
License GPL
Author Sean McLaughlin
Maintainer seanmcl@gmail.com
Stability Unknown
Category Development
Bug tracker http://github.com/seanmcl/BirdPP/issues
Uploaded Thu Aug 2 16:36:38 UTC 2012 by SeanMcLaughlin
Distributions NixOS:1.1
Downloads 706 total (12 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
All reported builds failed as of 2016-10-24 [all 14 reports]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for BirdPP

Readme for BirdPP-1.1

Using Haddock markup with Literate Haskell commenting style doesn't 
currently work.  For instance, to get Haddock markup in an lhs file:

comments
comments

> code

comments

you'd need to write:

> -- | comments
> -- comments

> code

> -- | comments

This clearly defeats the purpose of Literate Haskell.  BirdPP is
a preprocessor that works with GHC so you can write what you want:


| comments
comments

> code

| comments

Compilation of this package will give you an executable called
bunlit.  This can be used by ghc using the option -pgmL BirdPP.
E.g.

ghc -pgmL BirdPP --make Main.lhs