Comment Comment by sz GHC has an API! http://www.haskell.org/haskellwiki/GHC/As_a_library parent sz 16 years ago