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
:
toml
[dependencies]
stack-graphs = "0.3"
Check out our documentation for more details on how to use this library.
We welcome your contributions! Please see our contribution guidelines and our code of conduct for details on how to participate in our community.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as described below, without any additional terms or conditions.
Stack graphs are heavily based on the scope graphs framework from Eelco Visser's group at TU Delft.
Licensed under either of
at your option.