[Haskell-cafe] Haskell Parse Tree
Hi, Does anyone know how to get the parse tree of a piece of Haskell code? Any recommended documentation? Thanks ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Haskell Parse Tree
2010/12/21 Jane Ren j2...@ucsd.edu: 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
Re: [Haskell-cafe] Haskell Parse Tree
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 j2...@ucsd.edu: 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 ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Haskell Parse Tree
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 sergu...@gmail.comwrote: 2010/12/21 Jane Ren j2...@ucsd.edu: 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 ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe