mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
parsers: add tree-sitter-mlir parser
The parser is currently in development, and 60-80% of MLIR files in the test suite of MLIR, within the Arith, Math, SCF, Tensor, and Linalg dialects parse successfully.
This commit is contained in:
parent
834f1dcb87
commit
5c4ea53070
5 changed files with 356 additions and 0 deletions
7
queries/mlir/locals.scm
Normal file
7
queries/mlir/locals.scm
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
(region) @scope
|
||||
|
||||
(func_arg_list (value_use) @definition.var)
|
||||
(block_arg_list (value_use) @definition.var)
|
||||
(op_result (value_use) @definition.var)
|
||||
|
||||
(value_use) @reference
|
||||
Loading…
Add table
Add a link
Reference in a new issue