Commit Graph

114 Commits

Author SHA1 Message Date
Axel Naumann
8843128773 Clarify the Jupyter kernel install procedure. 2016-02-02 20:14:09 +01:00
Axel Naumann
95bba98231 Remove unused LICENSE file (kernel uses LICENSE from cling). 2016-02-02 20:14:09 +01:00
Axel Naumann
7644a681de Add missing #include, reported by 0xACE. 2015-12-20 23:59:05 +01:00
Axel Naumann
5c750a2c4c Replace debug path by proper error message. 2015-12-16 20:29:22 +01:00
Axel Naumann
0e7ddc74dc Add proper header. 2015-12-16 20:29:22 +01:00
Axel Naumann
de11680d8a We need process(): code can be decls or exprs. 2015-12-16 20:29:22 +01:00
Axel Naumann
f917ad872a Use evaluate(); process prints the value. 2015-12-16 20:29:22 +01:00
Axel Naumann
83fd5ac7d8 Fix linker invocatin. 2015-12-16 20:29:22 +01:00
Axel Naumann
ccf1075b83 Typos. 2015-12-16 20:29:22 +01:00
Axel Naumann
2217faef8e Also pass the MIME type length. 2015-12-16 20:29:22 +01:00
Axel Naumann
9888227456 Stringify eval result; use pipe fd. 2015-12-16 20:29:22 +01:00
Axel Naumann
e74f919b6e Code completion interfaces (though no real implementation yet). 2015-12-16 20:29:22 +01:00
Axel Naumann
da85321c42 Implement pushing of MIME data to Jupyter. 2015-12-16 20:29:22 +01:00
Axel Naumann
ebf4ef2588 Remove more debug output. 2015-12-16 20:29:22 +01:00
Axel Naumann
636ca85a0e Add destruction of Interpreter. 2015-12-16 20:29:22 +01:00
Axel Naumann
feaedbc9f4 Remove debug output. 2015-12-16 20:29:22 +01:00
Axel Naumann
774997ccc2 Debug: print interpreter address. Provide temporary dummy eval. 2015-12-16 20:29:22 +01:00
Axel Naumann
2f2c2151c0 Jupyter kernel support dylib. 2015-12-16 20:29:22 +01:00
Axel Naumann
f1bf5f1a55 As agreed by Min, change license to that of cling. 2015-12-16 20:29:22 +01:00
Axel Naumann
66b7181bbb Use custom, non-decaying c_void_p as restype. 2015-12-16 20:29:22 +01:00
Axel Naumann
0511668144 set_next_input payload destroys processing of execute_result! 2015-12-16 20:29:22 +01:00
Axel Naumann
d63e3a4b08 DEBUG: Use llvm resource dir from install. 2015-12-16 20:29:22 +01:00
Axel Naumann
50556641f2 Fix pipe read. 2015-12-16 20:29:21 +01:00
Min RK
fae98382e3 add iopub pipe
pair programming with Axel
2015-12-16 20:29:21 +01:00
Axel Naumann
b571661050 Update the input code to contain magic (will be unload marker). 2015-12-16 20:29:21 +01:00
Axel Naumann
67c8a03d55 Show stringResult from eval. 2015-12-16 20:29:21 +01:00
Axel Naumann
a5e047f8c0 Capture cling_eval() stringResult. 2015-12-16 20:29:21 +01:00
Axel Naumann
c9a541858d Set restype of code completion interfaces. 2015-12-16 20:29:21 +01:00
Axel Naumann
fb03f8f326 Cleanup. 2015-12-16 20:29:21 +01:00
Axel Naumann
c1ccf5e244 Refactor, slightly. 2015-12-16 20:29:21 +01:00
Axel Naumann
40020a91ae Remove unused config 2015-12-16 20:29:21 +01:00
Axel Naumann
afa4a2784b Use libclingJupyter. 2015-12-16 20:29:21 +01:00
Min RK
7774e9bbfd capture stderr as well 2015-12-16 20:29:21 +01:00
Min RK
5cc49be53c require ipykernel 2015-12-16 20:29:21 +01:00
Min RK
01a82f38fd prepare for ctypes-cling API 2015-12-16 20:29:21 +01:00
Min RK
7f0088e7ba use Python script to get correct executable
rely on distutils shebang magic and PATH
2015-12-16 20:29:21 +01:00
Min RK
bcd56f23a0 require pexpect 3.3 for replwrap 2015-12-16 20:29:21 +01:00
Axel Naumann
b4f6d99948 Add proper header. 2015-12-16 20:29:21 +01:00
aonghus
ae7ad2c7c1 fix for c++ syntax highlighting 2015-12-16 20:29:21 +01:00
Axel Naumann
bf1c31fe37 We need process(): code can be decls or exprs. 2015-12-16 20:29:21 +01:00
Axel Naumann
be38d6071d Use evaluate(); process prints the value. 2015-12-16 20:29:21 +01:00
Min RK
ecac1351a9 Python 2 compatibility
closes #8
2015-12-16 20:29:21 +01:00
Min RK
0e5bc4dda9 IPython 3 compatibility 2015-12-16 20:29:21 +01:00
Axel Naumann
ac67953d30 Fix linker invocatin. 2015-12-16 20:29:21 +01:00
Min RK
b7134dd5cc dependencies 2015-12-16 20:29:21 +01:00
Axel Naumann
f405ea4ed2 Typos. 2015-12-16 20:29:21 +01:00
Min RK
986f7938dd ignore checkpoints 2015-12-16 20:29:21 +01:00
Axel Naumann
1045a89663 Also pass the MIME type length. 2015-12-16 20:29:20 +01:00
Axel Naumann
1552fe65b1 Stringify eval result; use pipe fd. 2015-12-16 20:29:20 +01:00
John Foster
b610b3a156 Make change from language name to codemirror name 2015-12-16 20:29:20 +01:00
Axel Naumann
6b35aef2f3 Code completion interfaces (though no real implementation yet). 2015-12-16 20:29:20 +01:00
John Foster
8e40c649f5 Change Codemirror mode to "clike"
Having the mode set to "c++" did not provide the proper code highlighting, but
"clike" does.  This was suggested to me by @Carreau.
2015-12-16 20:29:20 +01:00
Min RK
b2ffcc4076 install note 2015-12-16 20:29:20 +01:00
Axel Naumann
2352b5e745 Implement pushing of MIME data to Jupyter. 2015-12-16 20:29:20 +01:00
Jonathan Coe
8e8fb11831 fix module definition for setup.py 2015-12-16 20:29:20 +01:00
Axel Naumann
b21455cbd8 Remove more debug output. 2015-12-16 20:29:20 +01:00
Min RK
7a09b6c18b example notebook 2015-12-16 20:29:20 +01:00
Axel Naumann
b0a464eaec Add destruction of Interpreter. 2015-12-16 20:29:20 +01:00
Min RK
565e56cc7e allow specifying CLING_EXE env 2015-12-16 20:29:20 +01:00
Axel Naumann
5eb4756052 Remove debug output. 2015-12-16 20:29:20 +01:00
Min RK
8898522462 init cling kernel 2015-12-16 20:29:20 +01:00
Axel Naumann
a76fe309dd Debug: print interpreter address. Provide temporary dummy eval. 2015-12-16 20:29:20 +01:00
Axel Naumann
d0cb5639ec Jupyter kernel support dylib. 2015-12-16 20:29:20 +01:00
Min RK
b0ed753a0e Initial commit 2015-12-16 20:29:20 +01:00