oso
oso copied to clipboard
Tree-sitter Parser for Polar
Tree-sitter is a parser generator tool and an incremental parsing library. It can build a concrete syntax tree for a source file and efficiently update the syntax tree as the source file is edited.
Tree-sitter is currently used by Atom and Neovim (in 0.5).
See https://tree-sitter.github.io/tree-sitter/ for more details
For anyone interested in what's involved in writing the grammar:
https://tree-sitter.github.io/tree-sitter/creating-parsers#writing-the-grammar
I don't know if this is still of interest and what the process would be to have something like this accepted, but wanted to share it as I was reviewing it to see how difficult writing the grammar would be (or would not be).
Thanks for this suggestion, Matt