This is a cute implementation. Though for anyone wondering, an actually interactive C++ REPL does exist: https://clang.llvm.org/docs/ClangRepl.html
See also: https://github.com/root-project/cling
See also: https://github.com/root-project/cling
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!
It doesn't help of course that ROOT itself is a horrible mess of massive internal state.