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).
2010/12/21 Jane Ren <j2ren@ucsd.edu>:
> Does anyone know how to get the parse tree of a piece of Haskell code?ghc as a library?
> Any recommended documentation?
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