valderman / haste-compiler

A GHC-based Haskell to JavaScript compiler
http://haste-lang.org
BSD 3-Clause "New" or "Revised" License
1.45k stars 109 forks source link

Depends on versions that are too old #424

Open danwdart opened 5 years ago

danwdart commented 5 years ago

Is this project dead? It seems to require very (4 year) old versions of dependencies and ghc itself - and refuses current versions - which isn't the way to go in any world.

I love the idea but am having a lot of trouble getting it to work, especially the haste-app bit.

Would there be an update to support current versions¸ and in the meantime workarounds?

Thanks!

valderman commented 5 years ago

There is a (long overdue) update in the works, which will bring GHC support up to 8.8. The underlying ghc-simple library has been updated, and what's left are some (hopefully) minor compatibility fixes for the standard GHC libraries.

Since the language accepted by Haste is closely tied to the language accepted by the corresponding GHC version, it's unfortunately not possible to use the GHC 7.10 branch of Haste with other GHC versions. The only "workaround" available in the meantime is to use the pre-built binaries from haste-lang.org in conjunction with older GHC binaries from a source like https://launchpad.net/~hvr/+archive/ubuntu/ghc.

s-truax commented 3 years ago

@valderman is there a branch for the version update or GitHub issues related to updating the version? I'd be interested in helping out.