Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MLIR grammar #4610

Merged
merged 4 commits into from
Aug 19, 2019
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,9 @@
[submodule "vendor/grammars/mercury-tmlanguage"]
path = vendor/grammars/mercury-tmlanguage
url = https://github.com/sebgod/mercury-tmlanguage
[submodule "vendor/grammars/mlir-grammar"]
path = vendor/grammars/mlir-grammar
url = https://github.com/jpienaar/mlir-grammar
[submodule "vendor/grammars/monkey"]
path = vendor/grammars/monkey
url = https://github.com/gingerbeardman/monkey.tmbundle
Expand Down
2 changes: 2 additions & 0 deletions grammars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,8 @@ vendor/grammars/mediawiki.tmbundle:
- text.html.mediawiki
vendor/grammars/mercury-tmlanguage:
- source.mercury
vendor/grammars/mlir-grammar:
- source.mlir
vendor/grammars/monkey:
- source.monkey
vendor/grammars/moonscript-tmbundle:
Expand Down
7 changes: 7 additions & 0 deletions lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2926,6 +2926,13 @@ MAXScript:
tm_scope: source.maxscript
ace_mode: text
language_id: 217
MLIR:
type: programming
extensions:
- ".mlir"
tm_scope: source.mlir
ace_mode: text
language_id: 448253929
MQL4:
type: programming
color: "#62A8D6"
Expand Down
457 changes: 457 additions & 0 deletions samples/MLIR/const-fold.mlir

Large diffs are not rendered by default.

Loading