[[project @ 2001-09-06 15:54:48 by apt]
apt**20010906155448
document -fext-core flag and set pointers to ext-core docs/tools (MERGE to STABLE pleeeeeease.)
] {
hunk ./ghc/docs/users_guide/5-02-notes.sgml 256
- formally defined by the document An External
- Representation of the GHC Core Language in the
- GHC repository. We also have sample
- tools for reading, writing and typechecking external Core.
+ formally defined by the document An External Representation for the GHC Core Language.
+ We also have sample
+ tools for reading, writing and typechecking external Core,
+ available in the source distribution directory /fptools/ghc/utils/ext-core.
hunk ./ghc/docs/users_guide/flags.sgml 1272
+
+
+
+ External core file options ()
+
+
+
+
+
+ Flag
+ Description
+ Static/Dynamic
+ Reverse
+
+
+
+
+
+ Generate .hcr external Core files
+ static
+ -
+
+
+
+
+
+
hunk ./ghc/docs/users_guide/using.sgml 1848
+
+
+ Generating External Core Files
+
+ intermediate code generation
+
+ GHC can dump its optimized intermediate code (said to be in “Core” format)
+ to a file as a side-effect of compilation. Core files, which are given the suffix
+ .hcr, can be read and processed by non-GHC back-end
+ tools. The Core format is formally described in An External Representation for the GHC Core Language,
+ and sample tools (in Haskell)
+ for manipulating Core files are available in the GHC source distribution
+ directory /fptools/ghc/utils/ext-core.
+ Note that the format of .hcr
+ files is different (though similar) to the Core output format generated
+ for debugging purposes ().
+
+
+
+
+ -fext-core
+
+ -fext-core
+
+
+ Generate .hcr files.
+
+
+
+
+
+
+
}