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)

ChaiScript 4.0.0 Released

Changes since 3.1.0

  • svenstaro: Unused variables and CMake consistency fixes
  • Added support for returning pointers from functions (#13)
  • Compile with -pedantic (#9)
  • Fix issues with multiple ChaiScript object types having the same attribute name (#15)
  • Prevent variable redeclaration in same scope (#22)
  • mgee: Boxed_Number improvements (#27)
  • Support switch statements (#34)
  • Fix uint16 comparions (#26)
  • Add ability to add const_var globals in Module objects (#14)
  • Add support for ternary operators ?:
  • Add headers to CMakeLists so they show up in IDEs
  • Add ability to get vector of defined objects and vector of defined functions
  • Fix memory leak in cyclical references
  • Clean up static analysis issues discovered
  • Fix vector construction to be consistent with map construction
  • Increased unit tests to 161
  • Performance enhancements

boost version?

Is 4.0 the boost version, and 5.0 is the C++x11 version?

Just clarifying...

You got it

Yup, you got it. Admittedly, it's a little confusing. We had played with the idea of calling it ChaiScript(Boost) and ChaiScript(C++11) but decided against it.

Support ChaiScript by sharing it with your friends: