`dump-core` a prettier GHC core viewer
Simon Peyton Jones
simonpj at microsoft.com
Thu Jan 12 21:23:33 UTC 2017
Iavor
Sounds good…but there are no instructions on what it does, screen shots, why one might want it, how to install, how to use… Both URLs below are the same
Simon
From: ghc-devs [mailto:ghc-devs-bounces at haskell.org] On Behalf Of Iavor Diatchki
Sent: 12 January 2017 18:36
To: Haskell Cafe <haskell-cafe at haskell.org>; ghc-devs at haskell.org
Subject: ANN: `dump-core` a prettier GHC core viewer
Hello,
Over the holidays I wrote a small GHC plugin to help me do some low-level optimizations of Haskell code. I thought it might be of use to other people too, so please try it out!
When enabled, the plugin will save the Core generated by GHC in JSON format, and also render it in HTML for human inspection.
The plugin is available on Hackage:
http://hackage.haskell.org/package/dump-core<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fhackage.haskell.org%2Fpackage%2Fdump-core&data=02%7C01%7Csimonpj%40microsoft.com%7C6924b842575e4f63218308d43b19f45e%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636198430040472262&sdata=u5N0HOqiy38bvX%2FOC%2BKaEdtdJTYtbQAyxL%2Fvkk2wZ4M%3D&reserved=0>
The instructions on how to use it are in the README file.
You may also read about it at the github page:
http://hackage.haskell.org/package/dump-core<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fhackage.haskell.org%2Fpackage%2Fdump-core&data=02%7C01%7Csimonpj%40microsoft.com%7C6924b842575e4f63218308d43b19f45e%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636198430040472262&sdata=u5N0HOqiy38bvX%2FOC%2BKaEdtdJTYtbQAyxL%2Fvkk2wZ4M%3D&reserved=0>
There are many things that could probably be improved, just let me know. Also, if you are good at design, I could use some help making things look prettier :)
Happy hacking,
-Iavor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20170112/8c216479/attachment-0001.html>
More information about the ghc-devs
mailing list