Cairo grammar for tree-sitter. This is heavily inspired (copy pasted) from the rust grammar for tree-sitter.
While is tested with the cairo compiler repo, openzeppelin cairo contracts and alexandria, some patterns can be missing from those files hence cairo files might be incorrectly/incompletely highlighted. If you run into such a situation please create a minimal example that we can reproduce and open an issue.
This project is licensed under the Apache 2.0.
See LICENSE for more information.