
Christian Hoermann wrote:
I don't see the point of creating yet another scripting language. If it were real C++, it would be cool, but it doesn't seem to be.
The point is not to create a scripting language. The point is that an eval script can take an existing instance from a C++ program and modify that (as well as create instances of existing classes and pass those back to the compiled program).
Most of the embedded script languages can interact with the host code in that way (mostly with C but with a bit of twiddling it works with c++ as well). To name the few: Lua (easy C integration), MS script host (COM), python (python/c & boost)... As I see it the main advantage would be c++ like syntax and almost 1:1 mapping of the constructs. There may be some use for it if was lightweight and easily integrated, but it is in fact a new script language, and when you need scripting most of the time you want a real and familiar scripting language. -- Hrvoje