[all-commits] [llvm/llvm-project] 9a4472: [mlir] Add basic tree-sitter grammar file
Jacques Pienaar via All-commits
all-commits at lists.llvm.org
Thu Apr 28 11:43:00 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9a4472c56cbb4ea15be3e9a537e4ebdfc200a52c
https://github.com/llvm/llvm-project/commit/9a4472c56cbb4ea15be3e9a537e4ebdfc200a52c
Author: Jacques Pienaar <jpienaar at google.com>
Date: 2022-04-28 (Thu, 28 Apr 2022)
Changed paths:
M mlir/docs/LangRef.md
A mlir/utils/tree-sitter-mlir/README.md
A mlir/utils/tree-sitter-mlir/grammar.js
Log Message:
-----------
[mlir] Add basic tree-sitter grammar file
tree-sitter grammar file that tries to closely matches LangRef (it could use
some tweaking and cleanup, but kept fairly basic). Also updated LangRef in
places where found some issues while doing the nearly direct transcription.
This only adds a grammar file, not all the other parts (npm etc) that
accompanies it. Those I'll propose for separate repo like we do for vscode
extension.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D124352
More information about the All-commits
mailing list