Re:TermiC: Terminal C, Interactive C/C++ REPL shell created ...
by V1ndaar on Tuesday August 22, 2023 @11:17AM
(#37223967)
The ROOT interpreter cling (and cint before it) have always been known for being incredibly brittle. Segfaults are _extremely_ common. If you think you can continue your REPL session after most kinds of errors, you're mistaken.
It doesn't help of course that ROOT itself is a horrible mess of massive internal state.
Re:TermiC: Terminal C, Interactive C/C++ REPL shell created ...
by mathisfun123 on Tuesday August 22, 2023 @11:30AM
(#37224165)
yea i figured as much. clang-repl might be a ground-up reimplementation but i don't really have high hopes. of course it would be nice if C++ had a repl-like environment.
recently i've been playing with clang-repl (i don't know anything about cling) and it exists like this^. yea it's there and there are some CI tests that are run and etc but if you think you're going to run real C++ programs through it, you're in for a disappointing day.
i'm not saying it'll never get there - i hope it does!