ChaiScript is the first and only scripting language designed from the ground up with C++ compatibility in mind. It is an ECMAScript-inspired, embedded functional-like language.
ChaiScript is licensed under the BSD license.
ChaiScript is the first and only scripting language designed from the ground up with C++ compatibility in mind. It is an ECMAScript-inspired, embedded functional-like language.
ChaiScript is licensed under the BSD license.
1.1 of ChaiScript was just posted.
This release includes many enhancements to the C++ API. The code required to register new functions and types has been greatly simplified. Don't worry, porting existing 1.0 code to the new API should be simple.
Example:
register_function(chai.get_eval_engine(), &MyClass::method, "method");
becomes:
chai.add(fun(&MyClass::function), "method");
Also, a minor syntactic change in the language: "elseif" has become "else if" to be more in line with C++ style.