I realize that I\'ll most likely get a lot of \"you shouldn\'t do that because...\" answers and they are most welcome and I\'ll probably totally agree with your reasoning, but I
C++Script is what you want!
Example:
#include var script_main(var args) { var x = object(); x["abc"] = 10; writeln(x["abc"]); return 0; }
and it's a valid C++.