syntax-trees-fork-bairyn: Convert between different Haskell syntax trees. Bairyn's fork.
This is a fork of Dominic Orchard's syntax-trees package that is patched just to build on Haskell's more modern ecosystem.
Provides an instance that translates haskell-src-exts expression trees into Template Haskell expression trees in a way that depends only on the haskell-src-exts syntax tree and agreement on the pretty-printed representation of Haskell between haskell-src-exts pretty-printer and Template Haskell quotations (as opposed to depending on both TH and haskell-src-exts syntax tree representations).
Instead of converting between data types, haskell-src-exts syntax trees are pretty-printed and wrapped in a TH quotation which is then interpreted as a Haskell program, yielding a TH Exp tree. Free variables in the haskell-src-exts tree are preserved by lifting them to TH splices prior to pretty-printing.
[Skip to Readme]
|Dependencies||base (==4.*), haskell-src-exts (>=1.16 && <2), hint, mtl, template-haskell, uniplate [details]|
|Author||Dominic Orchard ,Byron Johnson|
|Source repo||head: git clone firstname.lastname@example.org:bairyn/syntax-trees.git
this: git clone email@example.com:bairyn/syntax-trees.git(tag v0.1.2.5)
|Uploaded||by ByronJohnson at Sun Nov 30 04:34:42 UTC 2014|
|Downloads||671 total (21 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
Docs uploaded by user
Build status unknown [no reports yet]
For package maintainers and hackage trustees