21 releases (13 breaking)

0.14.0 Jul 10, 2024
0.13.0 Mar 6, 2024
0.12.0 Jul 27, 2023
0.10.2 Jan 10, 2023
0.0.3 Jul 27, 2021

#77 in Programming languages

Download history 231/week @ 2024-07-10 83/week @ 2024-07-17 118/week @ 2024-07-24 128/week @ 2024-07-31 151/week @ 2024-08-07 149/week @ 2024-08-14 134/week @ 2024-08-21 94/week @ 2024-08-28 75/week @ 2024-09-04 575/week @ 2024-09-11 816/week @ 2024-09-18 189/week @ 2024-09-25 140/week @ 2024-10-02 186/week @ 2024-10-09 134/week @ 2024-10-16 185/week @ 2024-10-23

689 downloads per month
Used in 8 crates (4 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.14"

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.5–7MB
~142K SLoC