Re: help migrating a tool that uses the ghc api

2023-05-19 Thread Simon Peyton Jones
I'm sorry you've been having such a torrid time, Sam. We (the GHC developers) are acutely aware of the difficulties surrounding the GHC API. It was discussed quite a bit at the Haskell Implementers Meeting at last year's ICFP. The difficulty is that there simply *is *no defined GHC API. GHC def

Re: help migrating a tool that uses the ghc api

2023-05-19 Thread Sam Halliday
Thanks Simon, Simon Peyton Jones wrote: > What we need is >- An API for GHC that is *designed *and *actively curated*. >... Some may believe that the API would need to be some huge reflection of the internal API, with maximal reuse in mind. That is a mammoth task, but an API could also en

Re: help migrating a tool that uses the ghc api

2023-05-19 Thread Tom Ellis
On Thu, May 18, 2023 at 10:05:34PM +0100, Sam Halliday wrote: > 1. some programming language communities have a "community build" that >is periodically built by snapshots of the compiler. This allows >unexpected regressions to be caught early in the dev cycle and would >allow the author