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

#80 in Programming languages

Download history 94/week @ 2024-07-22 140/week @ 2024-07-29 118/week @ 2024-08-05 162/week @ 2024-08-12 134/week @ 2024-08-19 123/week @ 2024-08-26 79/week @ 2024-09-02 88/week @ 2024-09-09 982/week @ 2024-09-16 469/week @ 2024-09-23 154/week @ 2024-09-30 184/week @ 2024-10-07 129/week @ 2024-10-14 201/week @ 2024-10-21 149/week @ 2024-10-28 113/week @ 2024-11-04

597 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