Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/artagnon/tree-sitter-mlir

MLIR grammar for tree-sitter
https://github.com/artagnon/tree-sitter-mlir

mlir parser tree-sitter

Last synced: 4 months ago
JSON representation

MLIR grammar for tree-sitter

Awesome Lists containing this project

README

        

# tree-sitter-mlir

[MLIR](https://mlir.llvm.org) grammar for [tree-sitter](https://github.com/tree-sitter/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
```