CLIM = Common Lisp Interface Manager, it's like the REPL, ported to the GUI.
Is something like this similar possible in C++? If so, pointers?
Thanks!
CLIM = Common Lisp Interface Manager, it's like the REPL, ported to the GUI.
Is something like this similar possible in C++? If so, pointers?
Thanks!
Here's a REPL built atop GNU C++:
http://www.artificialworlds.net/wiki/IGCC/IGCC
There's no reason why it shouldn't work okay these days - it probably builds up a short program from successive statements, which on a modern machine will compile and run to display output in short order.
From the look of the examples, it could use a simple improvement: a line of input with no semicolon should be treated as an expression to be evaluated, so if you want to know the value of a
, just enter a
and it would be equivalent to:
std::cout << a << std::endl;