Description
Parser for GHC's *.hi files.
Description
A parser for GHC's *.hi files. Extracts information about dependencies and usage of files.
README.md
hi-file-parser
Provide data types and functions for parsing the binary .hi files produced by GHC. Intended to support multiple versions of GHC, so that tooling can:
- Support multiple versions of GHC
- Avoid linking against the
ghclibrary - Not need to use
ghc's textual dump file format.
Note that this code was written for Stack's usage initially, though it is intended to be general purpose.