Fork me on GitHub


an easy to use embedded scripting language for C++.



The above is a complete example of exposing a function to ChaiScript, calling it with a parameter and returning a value.

Header Only

There are no external tools requied, no preprocessor, no libraries, just your C++11 compliant compiler.


ChaiScript is licensed with the BSD license and is free to use in your free or commercial projects.


Coverage Status Coverity Scan Build Status

ChaiScript has been making stable releases since 2009. No bugfix or feature is made without a corresponding unit test.

Thread Safe

By default ChaiScript is thread safe. Thread safety can be disabled for enhanced performance.


ChaiScript is fully tested for 32bit and 64bit on Windows (MSVC2013), clang++ and g++.