Simple jupyter kernel using mlir-opt and reproducer to run passes. Useful for local experimentation & generating examples. The export to markdown from here is not immediately useful nor did I define a CodeMirror synax to make the HTML output prettier. It only supports one level of history (e.g., `_`) as I was mostly using with expanding a pipeline one pass at a time and so was all I needed. I placed this in utils directory next to editor & debugger utils. Differential Revision: https://reviews.llvm.org/D95742
16 lines
372 B
JSON
16 lines
372 B
JSON
{
|
|
"argv": [
|
|
"python3", "-m", "mlir_opt_kernel", "-f", "{connection_file}"
|
|
],
|
|
"display_name": "MlirOpt",
|
|
"language": "mlir",
|
|
"codemirror_mode": "mlir",
|
|
"language_info": {
|
|
"name": "mlir",
|
|
"codemirror_mode": "mlir",
|
|
"mimetype": "text/x-mlir",
|
|
"file_extension": ".mlir",
|
|
"pygments_lexer": "text"
|
|
}
|
|
}
|