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.
news
Now on YouTube
Submitted by Jonathan Turner on Fri, 12/11/2009 - 08:52Recently we posted a quick introduction to ChaiScript on YouTube. Check it out, tell us what you think.
ChaiScript 1.3 Released
Submitted by lefticus on Wed, 08/26/2009 - 18:31ChaiScript 1.3 was just released on googlecode.
Changes:
- Allow floating point numbers without a leading 0.
- Fix dispatch of functions that take boost::shared_ptr parameters.
- Add "use" function for loading ChaiScript files from within ChaiScript files.
- Double performance of tightloops by speeding up operator dispatches.
- Prevent the use of reserved words as function and object names.
- Fix error messages for failed "clone" calls.
ChaiScript 1.2 Released
Submitted by lefticus on Sat, 08/08/2009 - 22:56The ChaiScript 1.2 release was just tagged and released on googlecode. 1.2 represents a significant performance increase for ChaiScript, with long running scripts running up to 3x faster than previously.
It is functionally the same as 1.2, so it is currently planned to be a source only release.
1.1 Released!
Submitted by lefticus on Sat, 07/25/2009 - 13:471.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");
