Frequently Asked Questions
What languages does Graph-sitter support?
What languages does Graph-sitter support?
Graph-sitter currently parses two languages:
We’re actively working on expanding language support based on community needs.
Learn more about how Graph-sitter handles language specifics in the Language Support guide.
Interested in adding support for your language? Let us know or contribute!
Is Graph-sitter exact?
Is Graph-sitter exact?
Pretty much! Graph-sitter is roughly on par with mypy
and tsc
. There are always edge cases in static analysis that are provably impossible to get (for example doing eval()
on a string), but all of Codegen’s APIs are intended to be exact unless otherwise specified. Please reach out if you find an edge case and we will do our best to patch it.
Is Graph-sitter suitable for large codebases?
Is Graph-sitter suitable for large codebases?
Yes! Graph-sitter was developed on multmillion-line Python and Typescript codebases and includes optimizations for handling large-scale transformations.
For enterprise support, please reach out to team@codegen.com
Can I use Graph-sitter with my existing tools?
Can I use Graph-sitter with my existing tools?
Yes - by design.
Graph-sitter works like any other python package. It works alongside your IDE, version control system, and other development tools.
How can I contribute if I'm new to the project?
How can I contribute if I'm new to the project?
Start by trying out Codegen, joining our Slack community, and looking for issues labeled “good first issue” on GitHub. We welcome contributions to documentation, examples, and code improvements.
Is Graph-sitter free to use?
Is Graph-sitter free to use?
Yes, Graph-sitter is open source and free to use under the Apache 2.0 license. You can use it for both personal and commercial projects.
Where can I get help if I'm stuck?
Where can I get help if I'm stuck?
The best places to get help are:
- Our community Slack channel
- GitHub issues for bug reports
- Reach out to us on Twitter