I've been working on a tree-sitter grammar for awhile now and I estimate it is around 50% complete. That is based solely on my knowledge of the language, I've already learned new things while working on this project. Using it will help address several issues with highlighting and code folding in Fortran (#84, #101) and I imagine other features built around tree-sitter will eventually start appearing as well.
I wanted to drop a line here in case anyone else was thinking of doing the same or would be interested in contributing. Once we reach full support of all the common language constructs maybe we can integrate it into this grammar (see language-c for an example).
I've been working on a tree-sitter grammar for awhile now and I estimate it is around 50% complete. That is based solely on my knowledge of the language, I've already learned new things while working on this project. Using it will help address several issues with highlighting and code folding in Fortran (#84, #101) and I imagine other features built around tree-sitter will eventually start appearing as well.
I wanted to drop a line here in case anyone else was thinking of doing the same or would be interested in contributing. Once we reach full support of all the common language constructs maybe we can integrate it into this grammar (see language-c for an example).
https://github.com/stadelmanma/tree-sitter-fortran
Additional info: