#5844: Panic on generating Core code
---------------------------------+------------------------------------------
Reporter: JamesFisher | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.6.1
Component: External Core | Version: 7.4.1
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: Compile-time crash
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by simonpj):
Yes, your diagram is right, except that the arrow from .hi to Iface Core
should be labelled `iface/BinIface` as well; `BinIface` does
deserialisation as well a serialisation.
And rather that "External Iface" I might say "the output of `ghc --show-
iface` or something like that.
Documenting in the user manual is slightly odd; but only slightly. After
all, it's simply documenting what `ghc -ext-core` does; in particular,
defining the language it produces into the `.hcr` file. The
implementation diagram could form a useful part of the Commentary:
http://hackage.haskell.org/trac/ghc/wiki/Commentary.
Yes converting `core.tex` to `core.xml` would be a great start.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5844#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs