NHC
Appearance
Nearly a Haskell Compiler or NHC is a small Haskell compiler/interpreter originally introduced in 1994 by Niklas Röjemo, it compiles to a bytecode that targets a runtime written in C and has libraries and tools that allow it to call and be called by C tools. NHC was renamed NHC98 when it was made compatible with the Haskell 98 standard and at the same time the version numbers were rebooted. There was also a now dead fork by Tom Shackell in the form of the York Haskell Compiler that actually was better in some respects.
NHC is primarily written in Haskell but it has a small, fairly system independent runtime that is written in C and this makes it easy to bootstrap the system on platforms that have a C compiler available.
Versions
- Last known version: NHC98 v1.22 (2010)
- The entire NHC98 family appears to compile and work on OS/2, but is untested.
- Last known OS/2 version: NHC 1.3
Links & publications
- NHC98 homepage
- Niklas Röjemo: nhc - Nearly a Haskell Compiler - In PDF format
- Niklas Röjemo: Garbage Collection, and Memory Efficiency, in Lazy Functional Languages (1995)
- Colin Runciman and Niklas Röjemo: Heap Profiling for Space Efficiency
Author
- Niklas Röjemo