NHC: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
'''Nearly a Haskell Compiler''' | '''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 [http://yhc06.blogspot.co.uk/2011/04/yhc-is-dead.html 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. | 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== | ==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. | |||
==Links | ==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: ''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] | |||
==Links== | |||
* [https://www.haskell.org/nhc98/ NHC98 homepage] | * [https://www.haskell.org/nhc98/ NHC98 homepage] | ||
[[Category:Haskell | [[Category:Haskell]][[Category:Open Source Software]][[Category:Software written in C]] | ||
[[Category:Software written in C]] | |||
[[Category:Software written in Haskell]] | [[Category:Software written in Haskell]] |
Revision as of 23:53, 8 February 2020
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 - [1]
- Niklas Röjemo: Garbage Collection, and Memory Efficiency, in Lazy Functional Languages (1995) [2]
- Colin Runciman; Niklas Röjemo: Heap Profiling for Space Efficiency [3]