ghc-dump-core: An AST and compiler plugin for dumping GHC's Core representation.

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

ghc-dump is a library, GHC plugin, and set of tools for recording and analysing GHC's Core representation. The plugin is compatible with GHC 7.10 through 8.3, exporting a consistent (albeit somewhat lossy) representation across these versions. The AST is encoded as CBOR, which is small and easy to deserialise.

This package provides the AST and compiler plugin. See the ghc-dump-util package for a useful command-line tool for working with dumps produced by this plugin.

Usage

GhcDump.Plugin provides a Core-to-Core plugin which dumps a representation of the Core AST to a file after every Core-to-Core pass. To use it, simply install this package and add -fplugin GhcDump.Plugin to your GHC command-line. See the README for further analysis tips.

Properties

Versions0.1.0.0, 0.1.0.0
Change logNone available
Dependenciesbase (>=4.8 && <4.11), bytestring (>=0.10), filepath (>=1.4), ghc (>=7.10 && <8.4), serialise (==0.2.*), text (==1.2.*) [details]
LicenseBSD-3-Clause
Copyright(c) 2017 Ben Gamari
AuthorBen Gamari
Maintainerben@well-typed.com
CategoryDevelopment
UploadedThu Feb 1 04:08:27 UTC 2018 by BenGamari

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees