Difference between revisions of "Compilers and interpreters"

From HaskellWiki
Jump to: navigation, search
m ([http://www.cs.chalmers.se/~augustss/hbc/hbc.html '''HBI''' and '''HBC'''], Chalmers' Haskell Interpreter and Compiler)
(renaming of “Compilers and interpreters” to “Implementations” (new name shorter, perhaps more general, and consistent with naming of respective category))
 
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
== The Haskell Interpreter '''[[Hugs]]''' ==
 
 
#redirect [[Implementations]]
This small, portable Haskell interpreter written in C runs on almost any machine. Hugs is best used as a Haskell program development system: it boasts extremely fast compilation, supports incremental compilation, and has the convenience of an interactive interpreter (within which one can move from module to module to test different portions of a program). However, being an interpreter, it does not nearly match the run-time performance of, for example, GHC, nhc98, or HBC. It is certainly the best system for newcomers to learn Haskell. Hugs 98 is conformant with Haskell 98. Available for all Unix platforms including Linux, DOS, Windows 3.x, and Win 32 (Windows 95, Win32s, NT) and Macintoshs. It has many libraries including Win32 libraries, a foreign interface mechanism to facilitate interoperability with C and the Windows version has a simple graphical user interface. Explanations of some common Hugs error messages and their causes can be found on [http://www.cs.ukc.ac.uk/people/staff/sjt/craft2e/errors.html Simon Thompson's page].
 
 
== '''GHC''' the [[Glasgow Haskell Compiler]] ==
 
The Glasgow Haskell compiler is a full implementation of Haskell, also offering many language extensions. It is itself written in (extended) Haskell and is designed to act as a substrate for the research work of others. The source code is freely available. It produces fast code. Unfortunately it is itself quite slow and needs much memory. It provides profiling for both time and space. It supports both parallel and concurrent programming. It is available for a few Unix platforms (including Linux, Solaris, *BSD, and MacOS-X) and also for Windows.
 
 
== [[nhc98]] ==
 
A small, easy to install, standards-compliant Haskell 98 compiler. It provides some advanced kinds of heap profiles not found in any other Haskell compiler. It produces medium-fast code, and compilation is itself quite fast. The compiler stresses the saving of space, that is, it produces small programs requiring comparatively little space at runtime (and it is itself much smaller than the other compilers). It is available for all Unix-like platforms (including MacOS-X, Cygwin/Windows, Linux, Solaris, *BSD, AIX, HP-UX, Ultrix, IRIX, etc.) - written in Haskell 98, but can be quickly and easily bootstrapped from C sources.
 
 
== [http://www.cs.chalmers.se/~augustss/hbc/hbc.html '''HBI''' and '''HBC'''], Chalmers' Haskell Interpreter and Compiler ==
 
The Chalmers Haskell-B compiler 0.9999.5c implements Haskell 98, as well as some extensions. It is written by Lennart Augustsson, and based on the classic LML compiler by Augustsson and Johnsson. The interpreter can also load code compiled with HBC. There has been no official release for the last few years and the support level is pretty low, but the compiler exists and can be used. Unfortunately the web-pages and the documentation has not been updated the last few years! You can download an unofficial [http://haskell.org/hbc/hbc-2004-06-29.src.tar.gz snapshot of the sources] and the corresponding [http://haskell.org/hbc/hbc-2004-06-29.bin-i386-linux.tar.gz x86 Linux binaries] (based on [http://www.cs.chalmers.se/pub/users/hallgren/Alfa/Haskell/ snapshots] from Thomas Hallgren and Magnus Carlsson).
 
 
== [http://www.cs.uu.nl/helium/ '''Helium'''] ==
 
Helium is a functional programming language and a compiler designed especially for teaching Haskell. Quality of the error messages has been the main concern both in the choice of the language features and in the implementation of the compiler. The language is a subset of the Haskell language. The most notable difference with Haskell is the absence of overloading. The compiler keeps track of a lot of information to produce informative messages.
 
 
[[Category:Implementations| ]]
 

Latest revision as of 20:48, 25 February 2006

Redirect to: