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

David Spickett via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 25 01:46:41 PDT 2022


DavidSpickett updated this revision to Diff 455506.
DavidSpickett added a comment.

Restrict magic that effects the whole cell to only be in the first lines,
or a continuous set of magic lines starting from the first line.

Interepreted as two magic lines:

  %args
  %args
  // Code

Only one because the run of magic was broken:

  %args
  // Code
  %args


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132378

Files:
  llvm/utils/TableGen/jupyter/.gitignore
  llvm/utils/TableGen/jupyter/LLVM TableGen.ipynb
  llvm/utils/TableGen/jupyter/LLVM TableGen.md
  llvm/utils/TableGen/jupyter/README.md
  llvm/utils/TableGen/jupyter/tablegen_kernel/__init__.py
  llvm/utils/TableGen/jupyter/tablegen_kernel/__main__.py
  llvm/utils/TableGen/jupyter/tablegen_kernel/assets/kernel.json
  llvm/utils/TableGen/jupyter/tablegen_kernel/install.py
  llvm/utils/TableGen/jupyter/tablegen_kernel/kernel.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132378.455506.patch
Type: text/x-patch
Size: 17498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220825/d51383b2/attachment.bin>


More information about the llvm-commits mailing list