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

Forum Spam

We've been having issues with spam lately and it seems our effort to reduce spam has stopped a lot of legitimate postings. I've adjusted the spam settings and we'll see how things go. Please send a comment via the contact us page if you have problems.

ChaiScript 3.1.0 Released

Changes since 3.0.0

  • Numeric operations performance increased approximately 10x
  • Looping operations performance increased up to 2x
  • Engine start up time decreased
  • Several parsing bugs related to index operators fixed
  • Added full support for all C algebraic types: double, long double, float, int, long, char, uint8_t, uint16_t, uint32_t, uint64_t, int8_t, int16_t, int32_t, int64_t
  • Enhanced support for capturing of exceptions thrown from ChaiScript in C++

Download it from github.

3.0.0 Released

After more than a year, ChaiScript 3.0.0 has been released.

Release Notes:

  • Code simplifications
  • Fully integrate documentation with source code in doxygen style comments
  • Unit tests increased from 114 to 137
  • Automatic conversion between boost::function objects and ChaiScript functions
  • Many bug fixes
  • Minor performance improvements
  • Namespace reorganization to make end user code more accessible
  • clang support
  • VisualStudio 2010 Support
  • Support for C++ base classes and automatic upcasting
Syndicate content
Support ChaiScript by sharing it with your friends: