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: 8 months ago
JSON representation
MLIR grammar for tree-sitter
- Host: GitHub
- URL: https://github.com/artagnon/tree-sitter-mlir
- Owner: artagnon
- License: apache-2.0
- Created: 2023-01-26T12:19:19.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-29T23:01:51.000Z (over 1 year ago)
- Last Synced: 2024-12-06T19:10:04.998Z (over 1 year ago)
- Topics: mlir, parser, tree-sitter
- Language: JavaScript
- Homepage:
- Size: 2.02 MB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```