File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed
llvm/utils/TableGen/jupyter Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change 1
- # A Jupyter kernel for TableGen (llvm-tblgen)
1
+ # Jupyter Tools for TableGen
2
+
3
+ This folder contains notebooks relating to TableGen and a Jupyter kernel for
4
+ TableGen.
5
+
6
+ ## Notebooks
7
+
8
+ [ LLVM_TableGen.ipynb] ( LLVM_TableGen.ipynb ) - A demo of the kernel's capabilities.
9
+
10
+ [ sql_query_backend.ipynb] ( sql_query_backend.ipynb ) - How to write a backend using
11
+ JSON output and Python.
12
+
13
+ Notebooks can be viewed in browser on Github or downloaded and run locally. If
14
+ that is not possible, there are Markdown versions next to the notebook files.
15
+
16
+ ## TableGen Kernel
2
17
3
18
To use the kernel, first install it into jupyter:
4
19
@@ -23,9 +38,6 @@ Then run one of:
23
38
jupyter console --kernel tablegen
24
39
```
25
40
26
- If you just want to see the results of the notebook, you can read
27
- [ ` LLVM_TableGen.md ` ] ( LLVM_TableGen.md ) instead.
28
-
29
41
` llvm-tblgen ` is expected to be either in the ` PATH ` or you can set
30
42
the environment variable ` LLVM_TBLGEN_EXECUTABLE ` to point to it directly.
31
43
You can’t perform that action at this time.
0 commit comments