Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patrickt/hs-stack-graphs
Experimental bindings to the Rust stack-graphs library.
https://github.com/patrickt/hs-stack-graphs
Last synced: 3 days ago
JSON representation
Experimental bindings to the Rust stack-graphs library.
- Host: GitHub
- URL: https://github.com/patrickt/hs-stack-graphs
- Owner: patrickt
- License: bsd-3-clause
- Created: 2021-10-04T15:12:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-04T15:51:59.000Z (about 3 years ago)
- Last Synced: 2024-12-24T12:30:17.983Z (5 days ago)
- Language: Haskell
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# hs-stack-graphs
This is an experimental binding to the C interface of the [stack-graphs](https://github.com/github/stack-graphs/) library. As of now it exists to stress-test certain library invariants. Eventually I want this to be a view into what a stack graphs library would look like without the Rust implementation's C-compatibility constraints, and to provide a good place to do REPL-style interaction with and animated visualizations of stack graphs.
You _must_ use `stack` to develop this library, as `cabal` does not have the ability to specify a relative path to a dependent C library. Furthermore, you'll need to patch it with the included diff. (I don't know whether said diff should go upstream.)
To play around with this:
- clone the repo
- `git submodule update --init --recursive`
- `cd vendor/stack-graphs`
- `git apply < ../../stackgraphs.diff`
- `cd ../..`
- `stack test`