Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Release 5.6.0

@lefticus lefticus released this · 41 commits to develop since this release

Changes since 5.5.1

  • Throw exception on integer divide by 0
  • Add optional type specification to function declarations

    def func(int i, j, double k) {
      // i must be an int.
      // j can be anything
      // k must be a double
      // normal conversion rules still apply
    }
    
  • Many minor fixes for compiler warnings
  • Add support for std::future and std::async

    var f := async(someFunction);
    var f2 := async(someFunction2);
    
    // someFunction and someFunction2 are running in parallel now
    f.get();
    f2.get();
    
  • Fully support r-value returns, supporting move-only objects and reducing object copies

Downloads

Release 5.5.1

@lefticus lefticus released this · 84 commits to develop since this release

Changes Since 5.5.0

  • 30% performance increase
  • Fix handling of object stack, resulting in greatly reduced memory usage
  • Code cleanups

Downloads

Release 5.5.0

@lefticus lefticus released this · 77 commits to master since this release

Changes since 5.4.0

  • 2x performance increase
  • Significant code cleanups
  • Throw exception if user attempts to call function on null object
  • Allow user defined type conversions from within chaiscript or c++
  • Fix object lifetime for nested function calls made at the global scope
  • Fix returning of boolean values from function calls

Downloads

Release 5.4.0

@lefticus lefticus released this · 149 commits to master since this release

Changes since 5.3.1

  • Decreased compile time and build size
  • Make "reflection" module built in (losing some of the time / build size gains)
  • Add new "class" syntax for ChaiScript defined methods and attributes see: unittests/class.chai for examples
  • Minor performance enhancements
  • major to_string performance enhancements
  • Provide API for retrieving registered type name #124
  • Added strong reference to container to range object #132

Downloads

Release 5.3.1

@lefticus lefticus released this · 201 commits to develop since this release

Changes since 5.3.0

  • Add automatic conversion of arithmetic return types, following the same rules as conversion of arithmetic types when passing parameters
  • Add automatic casting up the inheritence hierarchy when possible.
  • Enable travis.ci testing
  • Allow users to add globals from within script
  • Various static analysis fixes
  • Code modernization to C++11
  • Unofficial support for Haiku added
  • Fix #121 - Inability to compile on cygwin
  • Formatting fixes and spelling corrections
  • Apply "include what you use" https://code.google.com/p/include-what-you-use/
  • Apply clang-modernize
  • Various threading fixes
  • Performance improvements

Downloads

v4.3.1

@lefticus lefticus released this · 435 commits to develop since this release

  • Add automatic arithmetic conversions for return types
  • Enable automatic down casting in inheritance when possible

Downloads

Release 5.3.0

@lefticus lefticus released this · 259 commits to develop since this release

Current Version: 5.3.0

Note, with this version the C++11 version of ChaiScript has become the official version, and the boost version of ChaiScript will see very little if any future development.

Changes since 5.2.0

  • Official support for MSVC with C++11. All major platforms and compilers are now support for C++11 release
  • Enhanced unit tests
  • Add continue statement, fix various use cases for for loops
  • Fix use of suffixed numbers in vector initialization
  • Code cleanups
  • Eliminate global data, which makes code more portable and thread safe
  • Fix issue #79
  • Merge pretty_print fixes from @mgee #82
  • Compiler warning fixes for latest compiler releases
  • Fix threading problems
  • Fix linking error on MacOS Mavericks #88
  • Allow non-const globals
  • Make sure user cannot name a variable with :: in it #91
  • Fix various string / map / vector size and count calls for compilers which have weird overloads for them. #90 #93 #95
  • Make module search path relative to the currently running executable
  • Build and work with wstring windows builds
  • fix for some new line cases in the middle of a vector initialization from jespada

Downloads

Release 4.3.0

@lefticus lefticus released this · 453 commits to develop since this release

Current Version: 4.3.0

Note: this is scheduled to be the last release that requires boost, new releases
after this will require a C++11 compiler.

Changes since 4.2.0

  • Enhanced unit tests
  • Add continue statement, fix various use cases for for loops
  • Fix use of suffixed numbers in vector initialization
  • Code cleanups
  • Eliminate global data, which makes code more portable and thread safe
  • Fix issue #79
  • Merge pretty_print fixes from @mgee #82
  • Compiler warning fixes for latest compiler releases
  • Fix threading problems
  • Fix linking error on MacOS Mavericks #88
  • Allow non-const globals
  • Make sure user cannot name a variable with :: in it #91
  • Fix various string / map / vector size and count calls for compilers which have weird overloads for them. #90 #93 #95
  • Make module search path relative to the currently running executable
  • Build and work with wstring windows builds

Downloads

Something went wrong with that request. Please try again.