About ChaiScript

ChaiScript is the first and only scripting language designed from the ground up with C++ compatibility and modern design in mind. It is an ECMAScript-inspired, embedded functional-like language.

ChaiScript is licensed under the BSD license.

Download

Due to an increased release schedule, and the nature of ChaiScript being a header-only library, binary releases will be made less often. Previous releases can be found on github.

Version: 4.2.0 Released: 12/1/2012
(Requires Boost)
Source (tar.bz2)
Source (zip)

Version: 5.2.0 Released: 12/1/2012
(Requires C++11 Compiler)
Source (tar.bz2)
Source (zip)

forward output of print to stringstream instead of stdout

any chance you could way to change were print outputs
(i personally would like it to go to some stringstream)

You can do it on a temporary

You can do it on a temporary basis in a local context:

var print = fun(x) : { puts("My String: " + to_string(x) + "\n"); }

but that's not really what you want.

I've made a feature request to add it.

https://github.com/ChaiScript/ChaiScript/issues/67

-Jason

Support ChaiScript by sharing it with your friends: