Tree-sitter Fennel parser

Fennel programming language logo

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 queries and was subsequently accepted in these two PR's:

  1. pull/6132
  2. pull/6460