2016-02-23 20:16:10 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html >
2016-02-25 17:46:30 +03:00
< link rel = "stylesheet" href = "http://cdn.jsdelivr.net/highlight.js/9.2.0/styles/railscasts.min.css" >
< script src = "http://cdn.jsdelivr.net/highlight.js/9.2.0/highlight.min.js" > < / script >
< script > hljs . initHighlightingOnLoad ( ) ; < / script >
2016-02-23 20:16:10 +03:00
< head >
< title > Cling Website< / title >
< meta name = "description" content = "Official website of Cling" / >
< meta name = "keywords" content = "cling, interactive compiler interface, interpreter, clang, LLVM" / >
< meta http-equiv = "content-type" content = "text/html; charset=utf-8" / >
< meta http-equiv = "robots" content = "noindex,nofollow" / >
< link rel = "stylesheet" type = "text/css" href = "style/style.css" / >
< link rel = "stylesheet" type = "text/css" href = "style/menu.css" / >
< / head >
< body >
< div id = "website" >
< div id = "header" >
< div id = "logo" >
< div id = "logo_text" >
<!-- class="logo_colour", allows you to change the colour of the text -->
< h1 > < a href = "index.html" > < span class = "logo_colour" > Cling< / span > < / a > < / h1 >
< h2 > Interactive Compiler Interface< / h2 >
< / div >
< / div >
< div id = "mainmenubar" >
< ul id = "mainmenu" >
<!-- put class="selected" in the li tag for the selected page - to highlight which page you're on -->
2016-02-25 17:46:30 +03:00
< li > < a class = "tab_link" href = "newindex.html" > Home< / a > < / li >
2016-02-23 20:16:10 +03:00
< li > < a class = "tab_link" href = "build.html" > Build< / a > < / li >
< li > < a class = "tab_link" href = "contribute.html" > Contribuite< / a > < / li >
2016-02-25 17:46:30 +03:00
< li class = "selected" > < a class = "tab_link" href = "jupyter.html" > Jupyter< / a > < / li >
2016-02-23 20:16:10 +03:00
< / ul >
< / div >
< / div >
< div id = "breadcrumb" > < / div >
< div id = "content" >
< div class = "sidebar" >
<!-- insert your sidebar items here -->
< h3 > Latest News< / h3 >
< h4 > Cling goes public< / h4 >
< h5 > July 25th, 2011< / h5 >
< p > Cling was officially announced to the Clang community < br / > < a href = "news/ClingAnnouncement.html" > Read more< / a > < / p >
< p > < / p >
< h4 > New website launched< / h4 >
< h5 > July 1st, 2011< / h5 >
< p > Welcome to the new website of the project. < br / > < a href = "news/NewWebsiteLaunched.html" > Read more< / a > < / p >
< h3 > Useful Links< / h3 >
< ul >
< li > < a href = "www.cern.ch" target = "_blank" > CERN< / a > < / li >
< / ul >
< / div >
< div id = "main" >
<!-- insert the page content here -->
2016-02-25 17:46:30 +03:00
< h3 > Jupyter Kernel < / h3 >
2016-02-23 20:16:10 +03:00
< p > Cling is now integrated with the < a href = "http://jupyter.org/" target = "_blank" > Jupyter< / a > technology through the Jupyter kernel. You can take advantage of creating a Jupyter notebook on top of runtime interpretation, you have runtime visualisation!
< / p >
2016-02-25 17:46:30 +03:00
< img id = "jupyterscreenshot"
src="JupyterScreenshot.png" alt="Cling Jupyter Screenshot" style=""/>
2016-02-23 20:16:10 +03:00
< h3 > Prerequisites< / h3 >
< ul >
< li >
ipykernel ≥ 4.0
< / li >
< / ul >
< h3 > Install < / h3 >
To install the kernel with sources in src/tools/cling:
2016-02-25 17:46:30 +03:00
< pre > < code >
2016-02-23 20:16:10 +03:00
export PATH=/path/to/cling/bin:$PATH
cd src/tools/cling/tools/Jupyter/kernel/
pip install -e .
# or: pip3 install -e .
# register the kernelspec:
jupyter-kernelspec install [--user] cling
# or: jupyter kernelspec install [--user] cling
2016-02-25 17:46:30 +03:00
< / code > < / pre >
2016-02-23 20:16:10 +03:00
To run it:
2016-02-25 17:46:30 +03:00
< pre > < code >
2016-02-23 20:16:10 +03:00
jupyter-notebook
# or: jupyter notebook
2016-02-25 17:46:30 +03:00
< / code > < / pre >
2016-02-23 20:16:10 +03:00
< / div >
< / div >
< div id = "footer" >
< div id = "copyright" >
Copyright © Cling Team
< / div >
< div id = "links" >
< a href = "http://root.cern.ch/" target = "_blank" > The ROOT Framework< / a > |
< a href = "http://llvm.org" target = "_blank" > LLVM< / a > |
< a href = "http://clang.llvm.org" target = "_blank" > Clang< / a > |
< a href = "http://www.html5webtemplates.co.uk" target = "_blank" > Web Design< / a >
< / div >
< div id = "modified" > < i > Page was modified on < b > $Date$< / b > in $Rev$ by < b > $Author$< / b > < / i > < / div >
< / div >
< / div >
< / body >
< / html >