Files
clang-p2996/mlir/utils/tree-sitter-mlir/package.json
Ramkumar Ramachandra 10f8be19e7 tree-sitter-mlir: add a more complete grammar
Contribute a grammar, along with associated tests, from the upstream
project maintained at https://github.com/artagnon/tree-sitter-mlir. The
new grammar includes several fixes, and successfully parses 60-80% of
MLIR tests in the Arith, Math, ControlFlow, SCF, Tensor, Affine, and
Linalg dialects.

Differential Revision: https://reviews.llvm.org/D144408
2023-06-05 19:11:06 +01:00

34 lines
615 B
JSON

{
"name": "tree-sitter-mlir",
"description": "Tree sitter grammar for MLIR",
"version": "0.0.1",
"license": "Apache-2.0",
"main": "grammar.js",
"scripts": {
"compile": "tree-sitter generate",
"update-tests": "tree-sitter test --update",
"test": "tree-sitter test"
},
"keywords": [
"tree-sitter",
"lexer",
"parser",
"grammar"
],
"dependencies": {
"nan": "^2.17.0"
},
"devDependencies": {
"glob": "^8.1.0",
"tree-sitter-cli": "^0.20.7"
},
"tree-sitter": [
{
"scope": "source.mlir",
"file-types": [
"mlir"
]
}
]
}