Fork me on GitHub
  • Coverage Status


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 required, no preprocessor, no libraries, just your C++14 compliant compiler.


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


Coverage 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 licensed with the BSD license and is free to use in your free or commercial projects.