GHC Core / STG to supercombinators

Ben Lippmeier benl at ouroborus.net
Tue Apr 10 11:11:43 UTC 2018



> On 10 Apr 2018, at 9:23 am, Csaba Hruska <csaba.hruska at gmail.com> wrote:
> 
> I'd like to use GHC as a haskell frontend in a project.
> I wonder what is the easiest way to compile Haskell to supercombinators (top level functions) using GHC as a library.
> 
> Is it possible to use the simplifier to transform the parsed Haskell source to supercombinators? i.e. to do

The Intel Haskell Research Compiler did something similar. 

See: 

https://github.com/IntelLabs/flrc <https://github.com/IntelLabs/flrc>
http://www.leafpetersen.com/leaf/publications/hs2013/hrc-paper.pdf <http://www.leafpetersen.com/leaf/publications/hs2013/hrc-paper.pdf>


Ben.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20180410/3f87075d/attachment.html>


More information about the ghc-devs mailing list