# tree-sitter-cool
[](https://github.com/gustavodiasag/tree-sitter-cool/actions/workflows/ci.yml)
Tree-sitter grammar for the Classroom Object-Oriented Language (COOL).
## Syntax Highlighting
Additionaly to the grammar package, the project also defines [rules](./queries) for highlighting Cool code. Below are demonstrations using the [kanagawa](https://github.com/rebelot/kanagawa.nvim) colorscheme

and [gruvbox-light](https://github.com/morhetz/gruvbox) colorscheme

# References
[The Cool Reference Manual](https://theory.stanford.edu/~aiken/software/cool/cool-manual.pdf)
[Compiler Construction](https://tvn.roars.dev/class-compilers/cool.html)