![]() Unfortunately, it cannot deal with mutually recursive module dependencies, which is a feature that even the earliest versions of GHC rely on. It also comes with a number of useful language extensions that GHC and other Haskell systems depend on. ![]() Hugs is written in C and implements almost all of the Haskell 98 standard. Yale Haskell is not a compiler, it can only be used as an interpreter.Īnother Haskell interpreter with a more recent release is Hugs. 1 Yale Haskell runs on top of CMU Common Lisp, Lucid Common Lisp, Allegro Common Lisp, or Harlequin LispWorks, but since I do not have access to any of these proprietary Common Lisp implementations, I ported the Yale Haskell system to GNU CLISP. The last release of Yale Haskell was version 2.0.5 in the early 1990s. One of the oldest implementations is Yale Haskell, a Haskell system embedded in Common Lisp. One of them is: are there any alternative Haskell implementations that are still usable today and that can be built without GHC?Īlthough nowadays hardly anyone uses any other Haskell compiler but GHC in production there are some alternative Haskell implementations that were protected from bit rot and thus can still be built from source with today’s common toolchains. So I wondered: is it possible to construct a procedure to build a modern release of GHC from source without depending on any generated code or pre-built binaries of an older variant of GHC? The answer to this question depends on the answers to a number of related questions. For most purposes, generated code does not qualify as source code. Some GHC releases include files containing generated ANSI C code, which require only a C compiler to build. This is true for all public releases of GHC all the way back to version 0.29, which was released in 1996 and which implements Haskell 1.2. Unfortunately, to build GHC one needs a previous version of GHC. Haskell is a formally specified language with potentially many alternative implementations, but in early 2017 the reality is that Haskell is whatever the Glasgow Haskell Compiler (GHC) implements. A short survey of Haskell implementations
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |