[comp.sources.wanted] Interpreted C++

adrianb@cwi.nl (Adrian Baddeley) (11/28/88)

Is there such a thing as interpreted C++ ?

I want an interactive program that will execute
some large subset of C++. Example:

	prompt :-> int i = 0;
	(EXECUTES NOW, i created and initialised)
	prompt :-> for(i = 0; i < 10; i++) {
	(PARSER RECOGNISES UNFINISHED BLOCK)
	continue_prompt :->  printf("i = %d\n", i);
	continue_prompt :->  }
	(EXECUTES)
	i = 0
	i = 1
	...

If not, can anyone suggest a quick route, 
e.g. should I hack away at the gnu g++ source ?