[PATCH] D132378: [LLVM][TableGen] Add jupyter kernel for llvm-tblgen

David Spickett via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 28 03:19:31 PDT 2022


DavidSpickett added inline comments.


================
Comment at: llvm/utils/TableGen/jupyter/tablegen_kernel/assets/kernel.json:9
+        "name": "tablegen",
+        "codemirror_mode": "tablgen",
+        "mimetype": "text/x-tablegen",
----------------
6yearold wrote:
> Is `tablgen` a typo? I don't see any TableGen modes at https://codemirror.net/5/mode/
Yes it is. The binary is `llvm-tblgen` but the language is TableGen, it's endlessly confusing.

And yes there's no style for it in codemirror at this time. I think there is some way to add new languages but I haven't got into it myself.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132378/new/

https://reviews.llvm.org/D132378



More information about the llvm-commits mailing list