Name Date Size #Lines LOC

..--

dialect/H--1,202648

queries/H--358328

test/H--9,2018,998

.gitignoreH A D20-Feb-202378 98

README.mdH A D20-Feb-2023454 1916

grammar.jsH A D04-Oct-202421.8 KiB471264

package-lock.jsonH A D20-Feb-20234.1 KiB119118

package.jsonH A D20-Feb-2023615 3433

README.md

1# tree-sitter-mlir
2
3[tree-sitter](https://github.com/tree-sitter/tree-sitter) grammar for MLIR
4following the [lang-ref](https://mlir.llvm.org/docs/LangRef/). The parser is
5incomplete, and the bench statistics on the test files in the MLIR tree are as
6follows:
7
8```
9Math, 100% passed
10Builtin, 100% passed
11Func, 100% passed
12ControlFlow, 100% passed
13Tensor, 93.33% passed
14Arith, 83.33% passed
15SCF, 88% passed
16Affine, 73.08% passed
17Linalg, 51.11% passed
18```
19