Personal tools

GHC

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(add link to memory-footprint wiki page)
(Development of GHC: Removed link to "CPU operations" as this page is deleted by it's author)
 
(8 intermediate revisions by 4 users not shown)
Line 9: Line 9:
 
These documents relate to the ''latest released'' version of GHC.
 
These documents relate to the ''latest released'' version of GHC.
 
For ''earlier released'' versions click the relevant version on the
 
For ''earlier released'' versions click the relevant version on the
[http://www.haskell.org/ghc/download.html downloads page].   
+
[http://www.haskell.org/ghc/download downloads page].   
For the the ''current HEAD snapshot'' look at  
+
For release candidates, look at  
[http://www.haskell.org/ghc/download.html#snapshots development snapshots].
+
[http://downloads.haskell.org/~ghc/ the GHC download directory].
 
+
  
 
; [http://www.haskell.org/ghc/docs/latest/html/users_guide/index.html The User's Guide]: The User's Guide has all you need to know about using GHC: command line options, language extensions, GHCi, etc.
 
; [http://www.haskell.org/ghc/docs/latest/html/users_guide/index.html The User's Guide]: The User's Guide has all you need to know about using GHC: command line options, language extensions, GHCi, etc.
Line 41: Line 40:
 
** [[/Memory_Management| Memory management and garbage collection]]
 
** [[/Memory_Management| Memory management and garbage collection]]
 
** [[/Memory Footprint|Memory footprint on the heap of common data-structures]]
 
** [[/Memory Footprint|Memory footprint on the heap of common data-structures]]
 +
** [[Evaluation order and state tokens]]
  
 
* Platform related matters
 
* Platform related matters
Line 53: Line 53:
 
** [[/As a library|Using GHC as a library]]
 
** [[/As a library|Using GHC as a library]]
 
** [[/Concurrency|Concurrent programming in GHC]]
 
** [[/Concurrency|Concurrent programming in GHC]]
 +
** [https://ocharles.org.uk/blog/pages/2014-12-01-24-days-of-ghc-extensions.html 24 Days of GHC Extensions], a series of blog articles.
 
** [[Template Haskell]] is a (GHC) extension to Haskell that adds compile-time metaprogramming facilities.
 
** [[Template Haskell]] is a (GHC) extension to Haskell that adds compile-time metaprogramming facilities.
 
** [[Quasiquotation]] allows the ability for user-definable parsers to provide new concrete syntax for any datatype.
 
** [[Quasiquotation]] allows the ability for user-definable parsers to provide new concrete syntax for any datatype.
Line 60: Line 61:
 
** [[/Using rules|Using RULES in GHC]]
 
** [[/Using rules|Using RULES in GHC]]
 
** [[GHC/Data Parallel Haskell|Data Parallel Haskell: using nested data parallelism in GHC]]
 
** [[GHC/Data Parallel Haskell|Data Parallel Haskell: using nested data parallelism in GHC]]
 +
** [[Roles]] are GHC's way of discerning the difference between compile-time type equality (created by type synonyms and type families) and runtime type equality (created by newtypes).
  
 
* [[Correctness of short cut fusion]]
 
* [[Correctness of short cut fusion]]
Line 67: Line 69:
 
See the [http://hackage.haskell.org/trac/ghc GHC Developer Wiki]. The latest snapshot of the documentation for the next version can be found [http://haskell.org/ghc/dist/current/docs/ here].
 
See the [http://hackage.haskell.org/trac/ghc GHC Developer Wiki]. The latest snapshot of the documentation for the next version can be found [http://haskell.org/ghc/dist/current/docs/ here].
  
* [[/SIMD|SIMD CPU operations]]
+
* [http://takenobu-hs.github.io/downloads/ghc_development_flow.pdf GHC development flow] ([https://github.com/takenobu-hs/ghc-development-flow GitHub])
  
 
[[Category:Implementations]]
 
[[Category:Implementations]]
 
[[Category:GHC]]
 
[[Category:GHC]]

Latest revision as of 14:53, 7 November 2016

The Glasgow Haskell Compiler is a state-of-the-art, open source compiler and interactive environment for the functional language Haskell.

[edit] 1 Documentation

The documentation below relates to using GHC. For documentation about GHC's internals and building GHC, head over to the GHC Developer Wiki.

These documents relate to the latest released version of GHC. For earlier released versions click the relevant version on the downloads page. For release candidates, look at the GHC download directory.

The User's Guide
The User's Guide has all you need to know about using GHC: command line options, language extensions, GHCi, etc.
Download: | HTML.tar.bz2 | PDF | PS |
Standard Libraries
Documentation for the libraries that come with GHC.
Download: | HTML.tar.bz2
Cabal
An infrastructure for building and distributing Haskell software.

[edit] 2 Collaborative documentation

GHC is a big system. We try to document the core functionality (above), but you can help by writing documentation yourself. This section collects documentation written in a collaborative way, by users and developers together. Please help by adding new sections, and by clarifying and improving existing ones.

[edit] 3 Development of GHC

See the GHC Developer Wiki. The latest snapshot of the documentation for the next version can be found here.