The above is a complete example of exposing a function to ChaiScript, calling it with a parameter and returning a value.
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.
ChaiScript has been making stable releases since 2009. No bugfix or feature is made without a corresponding unit test.
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++.