20 releases (12 breaking)

0.13.0 Mar 6, 2024
0.12.0 Jul 27, 2023
0.11.0 Jun 8, 2023
0.10.2 Jan 10, 2023
0.0.3 Jul 27, 2021

#70 in Programming languages

Download history 11/week @ 2024-01-17 6/week @ 2024-01-24 23/week @ 2024-01-31 8/week @ 2024-02-07 7/week @ 2024-02-14 27/week @ 2024-02-21 62/week @ 2024-02-28 184/week @ 2024-03-06 38/week @ 2024-03-13 35/week @ 2024-03-20 130/week @ 2024-03-27 28/week @ 2024-04-03

237 downloads per month
Used in 6 crates (3 directly)

MIT/Apache

1MB
10K SLoC

stack-graphs

The stack-graphs crate provides a Rust implementation of stack graphs, which allow you to define the name resolution rules for an arbitrary programming language in a way that is efficient, incremental, and does not need to tap into existing build or program analysis tools.

To use this library, add the following to your Cargo.toml:

[dependencies]
stack-graphs = "0.13"

Check out our documentation for more details on how to use this library.

Notable changes for each version are documented in the release notes.

Credits

Stack graphs are heavily based on the scope graphs framework from Eelco Visser's group at TU Delft.

License

Licensed under either of

at your option.

Dependencies

~2.8–7.5MB
~145K SLoC