HTTPS clone URL
Subversion checkout URL
Mirror of ghc repository. DO NOT SUBMIT PULL REQUESTS HERE. Patches are best submitted to GHC's Phabricator (https://phabricator.haskell.org/), bugs and feature-requests are best filed to GHC's Trac (https://ghc.haskell.org/trac/ghc), or sent to the mailing list (firstname.lastname@example.org)
Haskell C Makefile Perl6 Perl Logos Other
arcpatch-D1448 coercible coloured-core context-quantification-4426 data-kind-syntax ghc-7.2 ghc-7.4 ghc-7.6 ghc-7.8 ghc-7.10 ghc-july ghc-lwc2 ghc-new-flavor ghc-spj ghc-validate late-lam-lift local-gc master monad-comp no-pred-ty sdoc supercompiler tc-untouchables th-new-7.6 wip/D694 wip/GenericsMetaData wip/GenericsMetaData2 wip/T4404 wip/T4879 wip/T5084 wip/T5462 wip/T7704 wip/T8545-ghc-7.8 wip/T8592 wip/T8776 wip/T8959 wip/T8995-level-generalisation wip/T9020 wip/T9136 wip/T9233 wip/T9281 wip/T9388 wip/T9417 wip/T9889 wip/T9953 wip/T9968 wip/T10071 wip/T10246 wip/T10527-2 wip/T10527 wip/T10803 wip/T10858 wip/T10874 wip/T10918 wip/T11028 wip/T11067 wip/aarch64-regd wip/amp wip/cabal-head-updates wip/cbv-conv-thunk wip/common-context wip/custom-type-errors wip/dph-fix wip/ermsb wip/exprArity wip/ext-solver wip/gadtpm wip/generics-propeq-conservative wip/generics-propeq wip/ggreif wip/ghc710-aix wip/high_memory_usage wip/impredicativity wip/lexer-warnings wip/llf wip/llvm-3.6 wip/merge wip/nested-cpr wip/new-flatten-skolems-Aug14 wip/new-flatten-skolems-Oct14 wip/orf-new wip/orf-reboot wip/orf wip/pattern-synonym-backport wip/pattern-synonym-sig-backport wip/pattern-synonyms wip/pretty wip/python3-new wip/python3 wip/rae wip/recurs-compat wip/redundant-constraints wip/remove-cabal-dep wip/simd wip/spj-improvement wip/spj-wildcard-refactor wip/static-pointers wip/tc-plugins-amg wip/tc-plugins wip/tc/typeable-with-kinds wip/th-new wip/type-app wip/8144
Nothing to show
Nothing to show
Fetching latest commit...
Cannot retrieve the latest commit at this time.
The Glasgow Haskell Compiler ============================ This is the source tree for GHC, a compiler and interactive environment for the Haskell functional programming language. For more information, visit GHC's web site: http://www.haskell.org/ghc/ Information for developers of GHC can be found here: http://hackage.haskell.org/trac/ghc/ Getting the Source ================== There are two ways to get a source tree: 1. Download source tarballs --------------------------- Download the GHC source distribution: ghc-<version>-src.tar.bz2 which contains GHC itself and the "boot" libraries. 2. Check out the source code from git ------------------------------------- First get the GHC git repository: $ git clone http://darcs.haskell.org/ghc.git/ Then run the sync-all script in that repository to get the other repositories: $ cd ghc $ ./sync-all get This checks out the "boot" packages. Building & Installing ===================== 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. Before building GHC you may need to install some other tools and libraries. See "Setting up your system for building GHC" . NB. in particular you need GHC installed in order to build GHC, because the compiler is itself written in Haskell. For instructions on how to port GHC to a new platform, see the Building Guide . For building library documentation, you'll need Haddock . To build the compiler documentation, you need a good DocBook XML toolchain and dblatex. Quick start: the following gives you a default build: $ perl boot $ ./configure $ make $ make install The "perl boot" step is only necessary if this is a tree checked out from git. For source distributions downloaded from GHC's web site, this step has already been performed. These steps give you the default build, which includes everything optimised and built in various ways (eg. profiling libs are built). It can take a long time. To customise the build, see the file HACKING. Once you have a build you need to keep it going. You need to keep all repos in sync with the sync-all script . To get the latest changes: $ ./sync-all pull $ ./sync-all get References ==========  http://www.haskell.org/ghc/ GHC Home Page  http://hackage.haskell.org/trac/ghc GHC Developer's Wiki  http://hackage.haskell.org/trac/ghc/wiki/Building Building Guide  http://www.haskell.org/happy/ Happy  http://www.haskell.org/alex/ Alex  http://www.haskell.org/haddock/ Haddock  http://hackage.haskell.org/trac/ghc/wiki/Building/SyncAll  http://hackage.haskell.org/trac/ghc/wiki/Building/Preparation Contributors ============ Please see http://www.haskell.org/ghc/contributors.html