#1373: Allow Access to generated STG from the GHC API
------------------------------+---------------------------------------------
Reporter: guest | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: GHC API | Version: 6.6.1
Severity: minor | Keywords: STG
Difficulty: Unknown | Os: Unknown
Testcase: | Architecture: Unknown
------------------------------+---------------------------------------------
It would be really nice to be able to either:
1.) access STG from the GHC API and tell the compiler to stop at that
point.
2.) be able to dump STG to some sort of separate ".stg" file for further
processing.
This would enable other backends to be written, since all the heavy
lifting has been done by the point its been converted to the spineless
tagless g-machine and that representation is more suitable than Cmm for
generating output for languages like JavaScript.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1373>
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