<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 27, 2020 at 7:13 PM Shayne Fletcher <<a href="mailto:shayne.fletcher.50@gmail.com">shayne.fletcher.50@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 27, 2020 at 5:24 PM John Ericson <john.ericson@obsidian.systems> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
I think that basically exists: <br>
<a href="https://hackage.haskell.org/package/ghc-lib" rel="noreferrer" target="_blank">https://hackage.haskell.org/package/ghc-lib</a> ? As permanent solution I <br>
don't like it, but as a stop gap to relieve any pressure for stability <br>
until we have sane interfaces, I *love* it.<br></blockquote><div><br><div style="font-family:tahoma,sans-serif">`ghc-lib` is a literal subset of GHC files: `ghc-lib-parser` that set of files sufficient to produce abstract syntax trees (~200 files), `ghc-lib` the remaining set of files enabling Core generation from parsed syntax trees (~300 of those) (more detail in the project README hereĀ <a href="https://github.com/digital-asset/ghc-lib/blob/master/README.md" target="_blank">https://github.com/digital-asset/ghc-lib/blob/master/README.md</a>).</div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">There is at this time, no attempt to provide any additional interface, "higher level" or otherwise, in these packages.</div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif"><div class="gmail_default" style="font-family:tahoma,sans-serif">[...]</div></div></div></div></div></blockquote><div class="gmail_default" style="font-family:tahoma,sans-serif"><br>I should mention that the related project `ghc-lib-parser-ex` (README here <a href="https://github.com/shayne-fletcher/ghc-lib-parser-ex/blob/master/README.md">https://github.com/shayne-fletcher/ghc-lib-parser-ex/blob/master/README.md</a>) IS in large part motivated by the need to provide stable interfaces over `ghc-lib-parser`.</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Shayne Fletcher</div></div>