Formula grammar for tree-sitter.
Read the research report here.
$ npm run build && tree-sitter test
You don't need to know JavaScript or specific details about tree-sitter to help out! Try running the parser on real Formula programs and open an issue if the parser failed where it should be succeeding.
The grammar is based on the YACC grammar for Formula.