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)

Project Samples

Project Activity

See All Activity >

Categories

Compilers

Follow GHC (Glasgow Haskell Compiler)

GHC (Glasgow Haskell Compiler) Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of GHC (Glasgow Haskell Compiler)!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Haskell

Related Categories

Haskell Compilers

Registered

2025-09-04