About ChaiScript

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.

Download

Version: 2.3.3 Released: 5/15/2010

Source
Windows
Linux

1.1 Released!

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.