News for hackers. Stuff that matters.
Re:Inspector – A drop-anywhere C++ REPL by therein on Tuesday February 13, 2018 @04:24AM (#16365814)
Very interesting. Does it require a C++17 compiler? Also is there any way to simply use a different way of interacting with the REPL? For instance over sockets rather than stdio.
Re:Inspector – A drop-anywhere C++ REPL by Mic92 on Tuesday February 13, 2018 @04:30AM (#16365857)
The REPL is a C++17 just-in-time compiler as a library. The project can use a different compiler. Even C could be supported with some small modifications. It uses TCP sockets + simple json messages for IPC. The REPL prompt runs in a different process independent from the program running the REPL. That means, there could be different frontends added. It also enables multi-process/multi-threading support.