From 5c4ea53070c4e2680d7256be5487f0ef653a8a6d Mon Sep 17 00:00:00 2001 From: Ramkumar Ramachandra Date: Mon, 20 Feb 2023 21:12:09 +0100 Subject: 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. --- lua/nvim-treesitter/parsers.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lua') diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index b772205a2..6a54c9032 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -905,6 +905,16 @@ list.meson = { maintainers = { "@Decodetalkers" }, } +list.mlir = { + install_info = { + url = "https://github.com/artagnon/tree-sitter-mlir", + files = { "src/parser.c" }, + requires_generate_from_grammar = true, + }, + experimental = true, + maintainers = { "@artagnon" }, +} + list.nickel = { install_info = { url = "https://github.com/nickel-lang/tree-sitter-nickel", -- cgit v1.2.3-70-g09d2