Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
dialect/ | H | - | - | 1,202 | 648 | |
queries/ | H | - | - | 358 | 328 | |
test/ | H | - | - | 9,201 | 8,998 | |
.gitignore | H A D | 20-Feb-2023 | 78 | 9 | 8 | |
README.md | H A D | 20-Feb-2023 | 454 | 19 | 16 | |
grammar.js | H A D | 04-Oct-2024 | 21.8 KiB | 471 | 264 | |
package-lock.json | H A D | 20-Feb-2023 | 4.1 KiB | 119 | 118 | |
package.json | H A D | 20-Feb-2023 | 615 | 34 | 33 |
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