Jump to content

NHC: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
 
Line 8: Line 8:


==Publications==
==Publications==
* Niklas Röjemo: ''nhc - Nearly a Haskell Compiler'' - [http://citeseerx.ist.psu.edu/viewdoc/download?rep=rep1&type=pdf&doi=10.1.1.38.5479]
* Niklas Röjemo: ''nhc - Nearly a Haskell Compiler''
* Niklas Röjemo: ''Garbage Collection, and Memory Efficiency, in Lazy Functional Languages'' (1995) [http://www.cs.chalmers.se/~rojemo/thesis.html]
* Niklas Röjemo: ''Garbage Collection, and Memory Efficiency, in Lazy Functional Languages'' (1995) [http://www.cs.chalmers.se/~rojemo/thesis.html]
* Colin Runciman; Niklas Röjemo: ''Heap Profiling for Space Efficiency'' [http://foswiki.cs.uu.nl/foswiki/pub/USCS/InterestingPapers/HeapProfiling.pdf]
* Colin Runciman; Niklas Röjemo: ''Heap Profiling for Space Efficiency'' [http://foswiki.cs.uu.nl/foswiki/pub/USCS/InterestingPapers/HeapProfiling.pdf]

Latest revision as of 04:49, 11 November 2022

Nearly a Haskell Compiler (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

  • NHC 1.3 - last OS/2 version
  • NHC98 v1.22 (2010) - There never was an OS/2 release of any of the NHC98 family, but the latest version appears to compile and work on OS/2, but is untested.

Publications

  • Niklas Röjemo: nhc - Nearly a Haskell Compiler
  • Niklas Röjemo: Garbage Collection, and Memory Efficiency, in Lazy Functional Languages (1995) [1]
  • Colin Runciman; Niklas Röjemo: Heap Profiling for Space Efficiency [2]

Links