3 ms·
I tried looking through the docs, and couldn't find any mention of which algorithm you are using. It seems like some LR, grammar, but which kind? LALR? GLR? It
by erezsh 6y ago
I tried looking through the docs, and couldn't find any mention of which algorithm you are using. It seems like some LR, grammar, but which kind? LALR? GLR? It seems like a very important bit of information, that's suspiciously missing.
- asqueella 6y agohttps://tree-sitter.github.io/tree-sitter/creating-parsers#writing-the-grammar https://tree-sitter.github.io/tree-sitter/creating-parsers#w... mentions it’s based on GLR.
- maxbrunsfeld 6y agoIt generates LR(1) parsers, and can use GLR on an opt-in basis, for handling specific conflicts.