tree: 80c36340875bcf87d33cc0afce28bba3fe3d5053 [path history] [tgz]
  1. dialect/
  2. queries/
  3. test/
  4. .gitignore
  5. grammar.js
  6. package-lock.json
  7. package.json
  8. README.md
utils/tree-sitter-mlir/README.md

tree-sitter-mlir

tree-sitter grammar for MLIR following the lang-ref. The parser is incomplete, and the bench statistics on the test files in the MLIR tree are as follows:

Math, 100% passed
Builtin, 100% passed
Func, 100% passed
ControlFlow, 100% passed
Tensor, 93.33% passed
Arith, 83.33% passed
SCF, 88% passed
Affine, 73.08% passed
Linalg, 51.11% passed