3 ms·
Interesting to see that I had a C++ REPL on my system, installed with clang by default, all along. From the documentation, it seems this is primarily aimed at
by mbwgh 3y ago
Interesting to see that I had a C++ REPL on my system, installed with clang by default, all along.
From the documentation, it seems this is primarily aimed at incremental compilation on demand via Compiler As A Service.
Indeed, for an end-user, calling this a REPL seems to be a stretch.
There's no auto-completion or special commands like showing docs or the checking the type of things, you even have to #include <iostream> to manually print the results of simple expressions.
So I guess read-eval-loop would be more fitting :)
- senkora 3y agoI use it on occasion. Invoking it with rlwrap makes it a little nicer by giving it readline support. I think there is a lot of low-hanging fruit for someone to make an IPython-inspired repl around it.