artagnon / tree-sitter-mlir

MLIR grammar for tree-sitter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

MLIR grammar for tree-sitter

License:Apache License 2.0


Languages

Language:JavaScript 82.6%Language:MLIR 10.8%Language:Scheme 6.6%