Conversation
|
Hola.
What does that mean? I quickly searched for one but didn't find any https://packages.sublimetext.io/?q=mlir
You can opt-in to python38; just create a |
Ah, its a community package. It's not necessary for this package https://github.com/rrbutani/sublime-mlir-syntax/, that's why I just say it's recommended
updated |
|
I see that you now just copied the syntax without proper attribution (https://github.com/rrbutani/sublime-mlir-syntax/blob/main/LICENSE). You don't have a LICENSE file. Do you know why the syntax isn't registered here? Or is it and I just don't find it? FWIW
The plugin runs python38 now. Maybe delete the paragraphs. Otherwise looks good. |
I think it's never been submitted to the repo |
|
@braver LGTM! |
Package ReviewChannel DiffRemoved (none), changed (none), added MLIR TOC. Review for MLIR TOC main-8b3891f-2026.04.02.03.29.26 |
|
Your top-level scope is
So So something like If you don't use those very custom words like affineOpsP yourself, I'd advise against using them at all. If you need them to help test or debug, have a look at using tests: https://www.sublimetext.com/docs/syntax.html#testing. They're super easy to set up and really help avoid regressions when you make changes later. If you structure your syntax well, the Show Scope Name command's popup has a Context Backtrace to help you find where the current scope is defined. This package is also super helpful while developing syntaxes: https://packages.sublimetext.io/packages/PackageDev. |

My package is MLIR TOC: a Sublime Text 4 plugin for MLIR sources. It parses section banners of the form
// ----- // Title // ----- //, opens a three-pane layout (source, TOC list, focused section), jumps the cursor when you move in the TOC, refreshes on save, and assigns MLIR syntax in the section pane when a syntax namedMLIRis installed.There are no packages like it in Package Control. Existing MLIR-related entries are syntax (or unrelated tooling); none provide this TOC + section workspace.
Release:
v1.0.0(semver tag).Note: N/A items — the package has no settings file, preferences menu, or default key bindings (users can bind
mlir_toc_section_workspace/mlir_toc_section_refreshthemselves; README documents Command Palette use only). Not a syntax package.