cling/tools/Jupyter
2017-05-12 09:14:05 +02:00
..
kernel Fixed codemirror mode to appropriate value. Syntax highlighting in jupyter lab should work when https://github.com/jupyterlab/jupyterlab/pull/2187 is merged. 2017-05-12 09:14:05 +02:00
CMakeLists.txt Use -force_load instead of -all_load. 2016-12-20 12:44:09 +01:00
Kernel.cpp Do not echo expression results; kernel handles it. 2017-05-02 11:59:10 +02:00
README.md Update location of Jupyter kernel. 2017-04-28 18:59:24 +02:00

Cling Kernel

C++ Kernel for Jupyter with Cling.

Requires ipykernel ≥ 4.0

Install

To install the kernel with sources in src/tools/cling:

export PATH=/cling-install-prefix/bin:$PATH
cd /cling-install-prefix/share/cling/Jupyter/kernel

pip install -e .
# or: pip3 install -e .

# register the kernelspec for C++17/C++14/C++11:
# the user can install whichever kernel(s) they
# wish:
jupyter-kernelspec install [--user] cling-cpp17
jupyter-kernelspec install [--user] cling-cpp14
jupyter-kernelspec install [--user] cling-cpp11

To run it:

jupyter-notebook
# or: jupyter notebook