Straightforward
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.
Portable
ChaiScript is fully tested for 32bit and 64bit on Windows (MSVC2013), clang++ and g++.
Thread Safe
By default ChaiScript is thread safe. Thread safety can be disabled for enhanced performance.
Free
ChaiScript is licensed with the
BSD license and is free to use in your free or commercial projects.