Skip to content

artagnon/tree-sitter-mlir

Repository files navigation

tree-sitter-mlir

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

Func, 100% passed
Builtin, 100% passed
Math, 87.5% passed
Arith, 72.22% passed
ControlFlow, 100% passed
SCF, 73.33% passed
Memref, 69.57% passed
Tensor, 68.18% passed
Affine, 82.05% passed
Linalg, 37.84% passed