GHC (Glasgow Haskell Compiler) is the leading open-source compiler and interactive environment for the Haskell programming language, supporting the Haskell 2010 standard plus numerous language extensions. It compiles to native machine code (via LLVM or C), and includes the interactive GHCi REPL. For full information on building GHC, see the GHC Building Guide. Here follows a summary - if you get into trouble, the Building Guide has all the answers. For building library documentation, you'll need Haddock. To build the compiler documentation, you need Sphinx and Xelatex (only for PDF output).
Features
- Full support for Haskell 2010 and a wide array of language extensions
- Interactive GHCi REPL for rapid development and testing
- Multiple compilation backends: native, LLVM, and C targets
- Advanced optimizations including inter-module and profile-guided optimization
- Support for concurrency, parallelism, and Software Transactional Memory (STM)
- Cross-platform support (Linux, macOS, Windows, FreeBSD, various CPU architectures)
Categories
CompilersFollow GHC (Glasgow Haskell Compiler)
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of GHC (Glasgow Haskell Compiler)!