Everything in the src/ directory is generated by tree-sitter from grammar.js, so really this should be the only file we care about when it comes to grammar changes. I'm not sure if we can outright remove the directory from the repository as I haven't been able to find any examples that do so, however, the scala tree-sitter automates the updating of src/ files using a sync workflow. It looks like a straightforward process but I'm not entirely sure how that will affect contributions...
Everything in the
src/directory is generated by tree-sitter fromgrammar.js, so really this should be the only file we care about when it comes to grammar changes. I'm not sure if we can outright remove the directory from the repository as I haven't been able to find any examples that do so, however, the scala tree-sitter automates the updating ofsrc/files using a sync workflow. It looks like a straightforward process but I'm not entirely sure how that will affect contributions...