[GHC] #1373: Allow Access to generated STG from the GHC API

GHC trac at galois.com
Wed May 23 10:30:53 EDT 2007


#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
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


More information about the Glasgow-haskell-bugs mailing list