
#14572: Document for writing GHC-based compiler -------------------------------------+------------------------------------- Reporter: zaoqi | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj):
Is there document for Core?
Actually Core is rather carefully documented. Look in [https://github.com/ghc/ghc/tree/master/docs/core-spec docs/core-spec]. For convenience (and against convention, since it's a generated file) there's a [https://github.com/ghc/ghc/blob/master/docs/core-spec/core- spec.pdf typeset PDF] there too. Richard wrote this document. I like to keep it up to date. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14572#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler