alanz / ghc-exactprint

GHC version of haskell-src-exts exactPrint
BSD 3-Clause "New" or "Revised" License
70 stars 32 forks source link

Wip ghc 9.3 #112

Closed drsooch closed 2 years ago

drsooch commented 2 years ago

First Draft of changes for 9.3 (I've deliberately left out the Language/Haskell/ExactPrint/ExactPrint.hs module for now.

Do you want <9.3 compatibility?

alanz commented 2 years ago

Do you want <9.3 compatibility?

Yes.

Historically I have done this with CPP for all bar the actual ExactPrint.hs AST part. See https://github.com/alanz/ghc-exactprint/tree/b6b75027811fa4c336b34122a7a7b1a8df462563 and https://github.com/alanz/ghc-exactprint/blob/b6b75027811fa4c336b34122a7a7b1a8df462563/ghc-exactprint.cabal#L130-L151

I am also starting to take a look at this now.

alanz commented 2 years ago

I have merged your branch into mine at https://github.com/alanz/ghc-exactprint/tree/ghc-head, and set up the multi-src infrastructure.

drsooch commented 2 years ago

Roger that, I gave it my best shot. Realized quickly I was out of depth. Closing.

alanz commented 2 years ago

@drsooch thanks for the leg up on this.