dodona-edu / dolos

:detective: Source code plagiarism detection
https://dolos.ugent.be
MIT License
244 stars 31 forks source link

Update to tree-sitter 0.21 #1486

Closed rien closed 2 months ago

rien commented 4 months ago

The new tree-sitter 0.21 updated to the newer NAPI api for native modules, which is incompatible with the older API, fortunately someone has created a compatibility layer (https://github.com/segevfiner/node-tree-sitter-compat) so both API's can be used simultaneously.

In order to update to tree-sitter 0.21 we should either:

Which of our parsers have not yet updated to 0.21: