oso icon indicating copy to clipboard operation
oso copied to clipboard

Tree-sitter Parser for Polar

Open drover25 opened this issue 4 years ago • 1 comments

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

drover25 avatar Feb 03 '21 15:02 drover25

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

kkirsche avatar Feb 27 '23 18:02 kkirsche