16 releases (9 breaking)

0.10.1 Sep 7, 2022
0.9.0 Jun 29, 2022
0.6.0 Mar 3, 2022
0.4.0 Dec 17, 2021
0.0.3 Jul 27, 2021

#348 in Development tools

Download history 410/week @ 2022-08-04 366/week @ 2022-08-11 351/week @ 2022-08-18 193/week @ 2022-08-25 281/week @ 2022-09-01 414/week @ 2022-09-08 438/week @ 2022-09-15 425/week @ 2022-09-22 563/week @ 2022-09-29 289/week @ 2022-10-06 239/week @ 2022-10-13 419/week @ 2022-10-20 395/week @ 2022-10-27 453/week @ 2022-11-03 280/week @ 2022-11-10 244/week @ 2022-11-17

1,392 downloads per month
Used in tree-sitter-stack-graphs

MIT/Apache

1MB
9K 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.10"

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