tensorflow / mlir

"Multi-Level Intermediate Representation" Compiler Infrastructure
1.74k stars 259 forks source link

Improve syntax highlighting on github #234

Open jpienaar opened 5 years ago

jpienaar commented 5 years ago

Currently the grammar used for syntax highlighting on github (utils/textmate/mlir.json) is very simple. In particular it skips almost any custom form, doesn't handle snippets too well as it attempts to find functions first, etc.. Extending it to support common custom forms and provide better support.

The answer may be to just redo it completely :)