All valid points. But one has to point out, its already been done despite what seems impossible.
There's always CINT, even trough it covers 95% of ANSI C and 85% of C++, it will be nice to have a plugin for it.
There is one problem, it doesn't seems to work with MinGW :? Or I am doeing something wrong...
Well you must be doing something wrong, it does works with MinGW.
For compiling it, just open msys and do a
./configure --arch=mingw && make it works for me.
You might need to remove (or compile)
readline and
dl from linking libs if you don't have them.
Don't fear that is not portable, because it is, the list of OS supported is: HP-UX, Linux, SunOS, Solaris, AIX, Alpha-OSF, IRIX, FreeBSD, NetBSD, NEC EWS4800, NewsOS, BeBox, Windows-9x, Windows-XP, MS-DOS, MacOS, MacOS X, VMS, NextStep, Convex, QNX, ...
and of compilers: GCC, MinGW, Cygwin, Visual C++ 4.0 to Visual C++ 2005, Borland Builder, Borland 5.5, DJGPP, Intel, Symantec, ...