Scripting language for controlling C++ applications