{"id":13616844,"url":"https://github.com/ghc/ghc","last_synced_at":"2025-10-20T16:11:20.102Z","repository":{"id":37246127,"uuid":"1560597","full_name":"ghc/ghc","owner":"ghc","description":"Mirror of the Glasgow Haskell Compiler. Please submit issues and patches to GHC's Gitlab instance (https://gitlab.haskell.org/ghc/ghc). First time contributors are encouraged to get started with the newcomers info (https://gitlab.haskell.org/ghc/ghc/wikis/contributing).","archived":false,"fork":false,"pushed_at":"2024-10-29T11:43:49.000Z","size":480042,"stargazers_count":3052,"open_issues_count":8,"forks_count":705,"subscribers_count":143,"default_branch":"master","last_synced_at":"2024-10-29T11:44:17.801Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.haskell.org/ghc/","language":"Haskell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":"https://gitlab.haskell.org/ghc/ghc.git","source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ghc.png","metadata":{"files":{"readme":".gitlab/README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-04-02T19:39:34.000Z","updated_at":"2024-10-29T11:18:54.000Z","dependencies_parsed_at":"2022-07-14T08:31:27.382Z","dependency_job_id":"a8216e8c-a50e-4f8d-9d94-daa79489e519","html_url":"https://github.com/ghc/ghc","commit_stats":null,"previous_names":[],"tags_count":182,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghc%2Fghc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghc%2Fghc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghc%2Fghc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghc%2Fghc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ghc","download_url":"https://codeload.github.com/ghc/ghc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235607123,"owners_count":19017298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T20:01:33.999Z","updated_at":"2025-10-07T08:30:39.225Z","avatar_url":"https://github.com/ghc.png","language":"Haskell","readme":"The Glasgow Haskell Compiler\n============================\n\n[![pipeline status](https://gitlab.haskell.org/ghc/ghc/badges/master/pipeline.svg?style=flat)](https://gitlab.haskell.org/ghc/ghc/commits/master)\n\nThis is the source tree for [GHC][1], a compiler and interactive\nenvironment for the Haskell functional programming language.\n\nFor more information, visit [GHC's web site][1].\n\nInformation for developers of GHC can be found on the [GHC issue tracker][2], and you can also view [proposals for new GHC features][13].\n\n\nGetting the Source\n==================\n\nThere are two ways to get a source tree:\n\n 1. *Download source tarballs*\n\n    Download the GHC source distribution:\n\n        ghc-\u003cversion\u003e-src.tar.xz\n\n    which contains GHC itself and the \"boot\" libraries.\n\n 2. *Check out the source code from git*\n\n        $ git clone --recurse-submodules git@gitlab.haskell.org:ghc/ghc.git\n\n    Note: cloning GHC from Github requires a special setup. See [Getting a GHC\n    repository from Github][7].\n\n  *See the GHC team's working conventions regarding [how to contribute a patch to GHC](https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions/fixing-bugs).* First time contributors are encouraged to get started by just sending a Merge Request.\n\n\nBuilding \u0026 Installing\n=====================\n\nFor full information on building GHC, see the [GHC Building Guide][3].\nHere follows a summary - if you get into trouble, the Building Guide\nhas all the answers.\n\nBefore building GHC you may need to install some other tools and\nlibraries.  See, [Setting up your system for building GHC][8].\n\n*NB.* In particular, you need [GHC][1] installed in order to build GHC,\nbecause the compiler is itself written in Haskell.  You also need\n[Happy][4], [Alex][5], and [Cabal][9].  For instructions on how\nto port GHC to a new platform, see the [GHC Building Guide][3].\n\nFor building library documentation, you'll need [Haddock][6].  To build\nthe compiler documentation, you need [Sphinx](http://www.sphinx-doc.org/)\nand Xelatex (only for PDF output).\n\n**Quick start**: GHC is built using the [Hadrian build system](hadrian/README.md).\nThe following gives you a default build:\n\n    $ ./boot\n    $ ./configure\n    $ hadrian/build         # can also say '-jX' for X number of jobs\n\n  On Windows, you need an extra repository containing some build tools.\n  These can be downloaded for you by configure. This only needs to be done once by running:\n\n    $ ./configure --enable-tarballs-autodownload\n\n  Additionally, on Windows, to run Hadrian you should run `hadrian/build.bat`\n  instead of `hadrian/build`.\n\n(NB: **Do you have multiple cores? Be sure to tell that to `hadrian`!** This can\nsave you hours of build time depending on your system configuration, and is\nalmost always a win regardless of how many cores you have. As a simple rule,\nyou should have about N+1 jobs, where `N` is the amount of cores you have.)\n\nThe `./boot` step is only necessary if this is a tree checked out\nfrom git.  For source distributions downloaded from [GHC's web site][1],\nthis step has already been performed.\n\nThese steps give you the default build, which includes everything\noptimised and built in various ways (eg. profiling libs are built).\nIt can take a long time.  To customise the build, see the file `HACKING.md`.\n\nFiling bugs and feature requests\n================================\n\nIf you've encountered what you believe is a bug in GHC, or you'd like\nto propose a feature request, please let us know! Submit an [issue][10] and we'll be sure to look into it. Remember:\n**Filing a bug is the best way to make sure your issue isn't lost over\ntime**, so please feel free.\n\nIf you're an active user of GHC, you may also be interested in joining\nthe [glasgow-haskell-users][11] mailing list, where developers and\nGHC users discuss various topics and hang out.\n\nHacking \u0026 Developing GHC\n========================\n\nOnce you've filed a bug, maybe you'd like to fix it yourself? That\nwould be great, and we'd surely love your company! If you're looking\nto hack on GHC, check out the guidelines in the `HACKING.md` file in\nthis directory - they'll get you up to speed quickly.\n\nGovernance and Acknowledgements\n===============================\n\nGHC is a community project developed by a team of highly-talented\n researchers, individual contributors, and full-time developers. We are indebted to the\n[many people](https://gitlab.haskell.org/ghc/ghc-hq/-/blob/main/team.mkd?plain=0#user-content-the-ghc-team)\nwhose work has brought GHC to its current state.\n\nSome larger decisions are made by a smaller group of core contributors,\nas described in our [governance documentation](https://gitlab.haskell.org/ghc/ghc-hq#ghc-governance).\n\n\n[1]:  http://www.haskell.org/ghc/            \"www.haskell.org/ghc/\"\n[2]:  https://gitlab.haskell.org/ghc/ghc/issues\n        \"gitlab.haskell.org/ghc/ghc/issues\"\n[3]:  https://gitlab.haskell.org/ghc/ghc/wikis/building\n        \"https://gitlab.haskell.org/ghc/ghc/wikis/building\"\n[4]:  http://www.haskell.org/happy/          \"www.haskell.org/happy/\"\n[5]:  http://www.haskell.org/alex/           \"www.haskell.org/alex/\"\n[6]:  http://www.haskell.org/haddock/        \"www.haskell.org/haddock/\"\n[7]: https://gitlab.haskell.org/ghc/ghc/wikis/building/getting-the-sources#cloning-from-github\n        \"https://gitlab.haskell.org/ghc/ghc/wikis/building/getting-the-sources#cloning-from-github\"\n[8]:  https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation\n        \"https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation\"\n[9]:  http://www.haskell.org/cabal/          \"http://www.haskell.org/cabal/\"\n[10]: https://gitlab.haskell.org/ghc/ghc/issues\n        \"https://gitlab.haskell.org/ghc/ghc/issues\"\n[11]: http://www.haskell.org/pipermail/glasgow-haskell-users/\n        \"http://www.haskell.org/pipermail/glasgow-haskell-users/\"\n[12]: https://gitlab.haskell.org/ghc/ghc/wikis/team-ghc\n        \"https://gitlab.haskell.org/ghc/ghc/wikis/team-ghc\"\n[13]: https://github.com/ghc-proposals/ghc-proposals\n        \"https://github.com/ghc-proposals/ghc-proposals\"\n","funding_links":[],"categories":["Haskell","Back-End Development"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghc%2Fghc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghc%2Fghc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghc%2Fghc/lists"}