Changes in the Core language file syntax since GHC5.02?

Donald Bruce Stewart dons@cse.unsw.edu.au
Mon, 23 Jun 2003 09:22:35 +1000


dimitry:
> Hi,
> 
> I asked this in the fa.haskell newsgroup, but since this is more 
> GHC-specific, maybe this list is a better place to ask.
> 
> I am trying to learn the syntax of Core language files using the paper 
> by Andrew Tolmach named "An External Representation for the GHC Core 
> Language". This was a draft for the version 5.02. Have there been any 
> improvements to the Core language definitions since that version and 
> during the v6.0 implementation? Are they summarized in a document? Or 
> maybe a fresher version of the paper is available?

For a very up-to-date document on what External Core looks like,
check out cvs, or go to:
    http://cvs.haskell.org/cgi-bin/cvsweb.cgi/fptools/

and look at:
    fptools/ghc/compiler/parser/ParserCore.y
or:
    fptools/ghc/compiler/coreSyn/PprExternalCore.lhs
also:
    fptools/ghc/utils/ext-core/*

I found these quite useful.

-- Don