Glasgow Haskell Compiler
From Wikipedia, the free encyclopedia
Glasgow Haskell Compiler | |
Developer: | University of Glasgow |
---|---|
Latest release: | 6.6 / Oct 11, 2006 |
OS: | Cross-platform |
Use: | Compiler |
License: | BSD |
Website: | GHC home |
The Glasgow Haskell Compiler (or GHC) is an open source native code compiler for the functional programming language Haskell which was originally developed at the University of Glasgow, primarily by Simon Peyton Jones and Simon Marlow. Development continues under the auspices of Microsoft Research in Cambridge, England, which employs Peyton Jones and Marlow. GHC has been humorously nicknamed the Glorious Haskell Compiler.
GHC is itself written in Haskell (in a technique known as bootstrapping), but the runtime system for Haskell – an essential part of the compiler – is written in C and C--. Much of GHC is written in the literate programming style. It complies with the latest language standard, called Haskell 98. Versions of GHC are available for several platforms, including Windows and most varieties of Unix (such as the numerous GNU/Linux flavors and Mac OS X.) GHC has also been ported to several different processor architectures.
It includes several extensions to the Haskell standard, including the STM library which allows for Composable Memory Transactions