Axel Naumann
7644a681de
Add missing #include, reported by 0xACE.
2015-12-20 23:59:05 +01:00
CristinaCristescu
d557ed9506
Doxygen compliant comment.
2015-12-18 14:29:05 +01:00
CristinaCristescu
e89f3d6e32
Remove injected ifstmt for invalid derefrencing.
...
The previous invalid refrence transformer injected if stmt for checking the argument derefrenced.
Now we return a runtime call that checks for validiting for derefrencing and injects the call
into the AST replacing the node where the deref happens with a call to the runtime function.
2015-12-18 14:29:04 +01:00
CristinaCristescu
5d6f86f805
Invalid referrencing runtime call casted to appropriate type.
2015-12-18 14:29:04 +01:00
CristinaCristescu
b8d475fd0c
Add invalid deref tests.
2015-12-18 12:44:09 +01:00
CristinaCristescu
21b342105b
Comment explaining function argument const cast.
2015-12-18 12:44:09 +01:00
CristinaCristescu
c5a42b19af
Invalid referrencing runtime call casted to appropriate type.
2015-12-18 12:44:09 +01:00
Axel Naumann
a70623e7e3
Add dependency needed for DiagnosticCommonKinds.inc.
2015-12-18 10:15:18 +01:00
Axel Naumann
2023eac193
Put LINK_LIBS back, they are used by ROOT.
2015-12-16 20:29:22 +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
6eac3e3159
Define dependencies!
2015-12-16 20:29:22 +01:00
Axel Naumann
473e16a131
Remove non-existing "cling-headers" dependency.
2015-12-16 20:29:22 +01:00
Axel Naumann
dec6519991
Add Jupyter lib.
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