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

#67 in Programming languages

Download history 183/week @ 2024-06-13 158/week @ 2024-06-20 149/week @ 2024-06-27 254/week @ 2024-07-04 147/week @ 2024-07-11 96/week @ 2024-07-18 127/week @ 2024-07-25 115/week @ 2024-08-01 172/week @ 2024-08-08 139/week @ 2024-08-15 116/week @ 2024-08-22 96/week @ 2024-08-29 80/week @ 2024-09-05 841/week @ 2024-09-12 622/week @ 2024-09-19 116/week @ 2024-09-26

1,675 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

~3.5–8MB
~161K SLoC