Language grammar+scanner for the Fennel scripting language with extendable codebase.
This is a regular Tree-sitter grammar for the Fennel scripting language, forked from the original project since the developer was uninterested in maintaining it anymore. I made a lot of adjustments regarding code structure and modularity and added features missing from the original project (like some macros/forms being unsupported).
I was able to modularize the project to separate the core language features from built-in forms. The refactored project structure also allows adding new form/macro support without much hassle. The new parser was proposed to nvim-treesitter project along with querries and was subsequently accepted in these two PR's:
The codebase is well-documented and can be found here:
https://github.com/alexmozaidze/tree-sitter-fennel