
Hi, Does anyone know how to get the parse tree of a piece of Haskell code? Any recommended documentation? Thanks

2010/12/21 Jane Ren
Does anyone know how to get the parse tree of a piece of Haskell code? Any recommended documentation?
ghc as a library? http://www.haskell.org/haskellwiki/GHC/As_a_library

The haskell-src-exts package? http://hackage.haskell.org/package/haskell-src-exts On 21 Dec 2010, at 09:35, Serguey Zefirov wrote:
2010/12/21 Jane Ren
: Does anyone know how to get the parse tree of a piece of Haskell code? Any recommended documentation?
ghc as a library?
http://www.haskell.org/haskellwiki/GHC/As_a_library
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Also, Scion is a library that wraps the GHC API. It already provides things
like search at location and retrieving the high level "interesting" elements
for an outline. See http://code.google.com/p/scion-lib/ and
https://github.com/JPMoresmau/scion (the outline code is only in the second
repo).
https://github.com/JPMoresmau/scion--
JP Moresmau
http://jpmoresmau.blogspot.com/
On Tue, Dec 21, 2010 at 10:35 AM, Serguey Zefirov
2010/12/21 Jane Ren
: Does anyone know how to get the parse tree of a piece of Haskell code? Any recommended documentation?
ghc as a library?
http://www.haskell.org/haskellwiki/GHC/As_a_library
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (4)
-
Jane Ren
-
JP Moresmau
-
Malcolm Wallace
-
Serguey Zefirov