A Tiger grammar for tree-sitter
You need to add '@indent' to the *parent* node, which whill indent the children. For some reason I understood it as marking the node that should be indented when I wrote these. These were tested manually in Neovim, I need to add a way to test them correctly though. |
||
|---|---|---|
| bindings | ||
| queries | ||
| src | ||
| test | ||
| .clang-format | ||
| .drone.yml | ||
| .gitignore | ||
| binding.gyp | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| grammar.js | ||
| package.json | ||
| README.md | ||
tree-sitter-tiger
Tiger grammar for tree-sitter.
It includes extensions to the language that are specific to the EPITA dialect of Tiger: meta-variables, and Object Oriented syntax.