Treesitter4D library

I (via Claude) had been using this library from a python/js/Rust combination, and I asked the question … what about C++Builder 'tho?

… No problem as it turns out.

So you can use this Delphi grammar library directly from both Delphi and C++Builder
(grammar originally from GitHub - Alexl-git/tree-sitter-delphi13: tree sitter for delphi13 · GitHub … finding a few improvement points)

https://github.com/pmcgee69/TreeSitter4D

Jim McKeeth has been working on Delphi versions and forks of various tree-sitter implementations.

and

In fact there are quite a few tree sitter projects around for Delphi/Pascal :slight_smile:

I oopsie’d and hadn’t made the repo public. :confused:

The one fork there is from a repo that has been around - ‘modersohn’ GitHub - modersohn/delphi-tree-sitter: Delphi binding for the tree-sitter library · GitHub

and I think the second, forked from Isopod, influenced this one : GitHub - Alexl-git/tree-sitter-delphi13: tree sitter for delphi13 · GitHub

They are both referenced in my Readme.

I added a release of the object & dll files for the grammar to the repo - so any one can use it from just Delphi.