GHC is a state-of-the-art, open source, compiler and interactive environment for the functional language Haskell.
NOTE: GHC is licensed and released under the The Glasgow Haskell Compiler License.
Here are some key features of "GHC":
· GHC supports the entire Haskell 98 language plus a wide variety of extensions.
· GHC generates fast code, particularly for concurrent programs. Why not take a look at GHC's performance on The Computer Language Shootout Bechmarks, and some comments on Haskell by the current organiser of the shootout, Brent Fulgham.
· GHC works on several platforms including Mac OS X, Windows and most varieties of Unix, and several different processor architectures. There are detailed instructions for porting GHC to a new platform.
· GHC has extensive optimisation capabilities, including inter-module optimisation.
· GHC compiles Haskell code either by using an intermediate C compiler (GCC), or by generating native code on some platforms. The interactive environment compiles Haskell to bytecode, and supports execution of mixed bytecode/compiled programs.
· Profiling is supported, both by time/allocation and various kinds of heap profiling.
· GHC comes with a wide range of libraries.
Requirements:
· Apple's Xcode (for compiling the distribution)