About ChaiScript

ChaiScript is the first and only scripting language designed from the ground up with C++ compatibility in mind. It is an ECMAScript-inspired, embedded functional-like language.

ChaiScript is licensed under the BSD license.

Download

Version: 2.3.3 Released: 5/15/2010

Source
Windows
Linux

ChaiScript Updates

Revision 524: Add string.c_str() and string.data() methods.

SVN Updates - Thu, 08/05/2010 - 07:38
Changed Paths:
    Modify    /trunk/include/chaiscript/dispatchkit/bootstrap_stl.hpp
    Add    /trunk/unittests/string_charptr.chai

Add string.c_str() and string.data() methods.
Categories: ChaiScript Updates

Revision 523: Fix build problem that was causing chaiscript_no_threads to still link with boos

SVN Updates - Wed, 08/04/2010 - 13:17
Changed Paths:
    Modify    /trunk/include/chaiscript/dispatchkit/dynamic_cast_conversion.hpp
    Modify    /trunk/src/stl_extra.cpp

Fix build problem that was causing chaiscript_no_threads to still link with boost_thread
Categories: ChaiScript Updates

Update 2 to issue 46 ("Add flags to CMake")

Issues Updates - Wed, 08/04/2010 - 07:34
Let's call this done. Testing specific code is only enabled if testing is turned on (ie libtest_module) and threading is now a configuration option for cmake. New options can be added as they come up. Readline support is fully automatic and optional, that should be be good, since readline is ubiquitous.
Status: Fixed
Categories: ChaiScript Updates

Revision 522: Quiet down some irrelevant warnings in MSVC2008, make dynamic_cast conversions w

SVN Updates - Tue, 08/03/2010 - 11:21
Changed Paths:
    Modify    /trunk/include/chaiscript/dispatchkit/boxed_cast.hpp
    Modify    /trunk/include/chaiscript/dispatchkit/dynamic_cast_conversion.hpp
    Modify    /trunk/include/chaiscript/dispatchkit/proxy_functions.hpp

Quiet down some irrelevant warnings in MSVC2008, make dynamic_cast conversions work in msvc across modules by applying a kludge that will probably not work long term, but does work now. This may mean that chaiscript needs to move to being a library?
Categories: ChaiScript Updates

Revision 521: Fix problem with functor<>() not casting to the proper type and add unit test fo

SVN Updates - Tue, 08/03/2010 - 09:19
Changed Paths:
    Modify    /trunk/CMakeLists.txt
    Modify    /trunk/include/chaiscript/dispatchkit/function_call.hpp
    Modify    /trunk/include/chaiscript/dispatchkit/function_call_detail.hpp
    Add    /trunk/unittests/functor_creation_test.cpp

Fix problem with functor<>() not casting to the proper type and add unit test for this case
Categories: ChaiScript Updates

Revision 520: Make disabling of thread support a configuration time option. This mainly exists

SVN Updates - Mon, 08/02/2010 - 21:09
Changed Paths:
    Modify    /trunk/CMakeLists.txt

Make disabling of thread support a configuration time option. This mainly exists for testing purposes.
Categories: ChaiScript Updates

Revision 519: Add missing inheritance unit test

SVN Updates - Mon, 08/02/2010 - 19:18
Changed Paths:
    Add    /trunk/unittests/inheritance.chai

Add missing inheritance unit test
Categories: ChaiScript Updates

Revision 518: Move type registration into module code, and fix problems with unloading of modu

SVN Updates - Mon, 08/02/2010 - 19:17
Changed Paths:
    Modify    /trunk/CMakeLists.txt
    Modify    /trunk/include/chaiscript/dispatchkit/dispatchkit.hpp
    Modify    /trunk/include/chaiscript/dispatchkit/dynamic_cast_conversion.hpp
    Modify    /trunk/src/test_module.cpp

Move type registration into module code, and fix problems with unloading of modules and type conversions registered inside of a module. We have to allow the same type registration more than once now, just in case several different modules register the same conversion.
Categories: ChaiScript Updates

Revision 517: Make sure the same base/derived relationship is never registered more than once

SVN Updates - Mon, 08/02/2010 - 12:18
Changed Paths:
    Modify    /trunk/include/chaiscript/dispatchkit/dynamic_cast_conversion.hpp

Make sure the same base/derived relationship is never registered more than once
Categories: ChaiScript Updates

Revision 516: Clean up key used in the thread global object cache, to make sure proper type co

SVN Updates - Mon, 08/02/2010 - 11:51
Changed Paths:
    Modify    /trunk/include/chaiscript/dispatchkit/boxed_value.hpp

Clean up key used in the thread global object cache, to make sure proper type comparisons are done in the corner cases found in the main boxed_cast<> code a while back
Categories: ChaiScript Updates

Revision 515: Thread safety for dynamic conversions / registration of new inheritance relation

SVN Updates - Mon, 08/02/2010 - 11:01
Changed Paths:
    Modify    /trunk/include/chaiscript/dispatchkit/dynamic_cast_conversion.hpp

Thread safety for dynamic conversions / registration of new inheritance relationship
Categories: ChaiScript Updates

Revision 514: Reduce runtime calls into the new dynamic cast system by first making sure the t

SVN Updates - Sun, 08/01/2010 - 20:30
Changed Paths:
    Modify    /trunk/include/chaiscript/dispatchkit/boxed_cast.hpp
    Modify    /trunk/include/chaiscript/dispatchkit/dynamic_cast_conversion.hpp
    Modify    /trunk/include/chaiscript/dispatchkit/type_info.hpp

Reduce runtime calls into the new dynamic cast system by first making sure the type is polymorphic. Cleanup some std::cout calls
Categories: ChaiScript Updates

Revision 513: Initial check in of support for upcasting during function invocation. No example

SVN Updates - Sun, 08/01/2010 - 19:38
Changed Paths:
    Modify    /trunk/include/chaiscript/chaiscript.hpp
    Add    /trunk/include/chaiscript/dispatchkit/bad_boxed_cast.hpp
    Modify    /trunk/include/chaiscript/dispatchkit/bootstrap.hpp
    Add    /trunk/include/chaiscript/dispatchkit/boxed_cast.hpp
    Add    /trunk/include/chaiscript/dispatchkit/boxed_cast_helper.hpp
    Add    /trunk/include/chaiscript/dispatchkit/boxed_pod_value.hpp
    Modify    /trunk/include/chaiscript/dispatchkit/boxed_value.hpp
    Add    /trunk/include/chaiscript/dispatchkit/dynamic_cast_conversion.hpp
    Modify    /trunk/include/chaiscript/dispatchkit/operators.hpp
    Modify    /trunk/include/chaiscript/dispatchkit/proxy_functions.hpp
    Modify    /trunk/include/chaiscript/dispatchkit/proxy_functions_detail.hpp
    Modify    /trunk/include/chaiscript/dispatchkit/type_info.hpp

Initial check in of support for upcasting during function invocation. No examples or tests are checked in yet. Some reorg was necessary to get things compiling in the right order. Is not currently thread safe and probably does not work properly across module boundaries
Categories: ChaiScript Updates

Revision 512: Make warnings stricter on windows and clean up all legit warnings in our code.

SVN Updates - Fri, 07/30/2010 - 12:06
Changed Paths:
    Modify    /trunk/CMakeLists.txt
    Modify    /trunk/include/chaiscript/dispatchkit/operators.hpp
    Modify    /trunk/include/chaiscript/dispatchkit/proxy_functions.hpp
    Modify    /trunk/include/chaiscript/language/chaiscript_common.hpp
    Modify    /trunk/include/chaiscript/language/chaiscript_engine.hpp
    Modify    /trunk/src/main.cpp

Make warnings stricter on windows and clean up all legit warnings in our code.
Categories: ChaiScript Updates

Revision 511: Make warnings more strict and fix one warning caught by gcc

SVN Updates - Fri, 07/30/2010 - 10:25
Changed Paths:
    Modify    /trunk/CMakeLists.txt
    Modify    /trunk/include/chaiscript/dispatchkit/bootstrap_stl.hpp

Make warnings more strict and fix one warning caught by gcc
Categories: ChaiScript Updates

Revision 510: Add test of dynamic object attribute access shared between c++ and chaiscript

SVN Updates - Sun, 07/25/2010 - 13:56
Changed Paths:
    Modify    /trunk/CMakeLists.txt
    Add    /trunk/unittests/dynamic_object_test.cpp

Add test of dynamic object attribute access shared between c++ and chaiscript
Categories: ChaiScript Updates

Update 3 to issue 96 ("Exception on the end of functor call")

Issues Updates - Fri, 07/23/2010 - 16:22
Fixed by #96
Status: Fixed
Categories: ChaiScript Updates

Update 3 to issue 95 ("Crash in chaiscript when adding a shared_ptr<> var")

Issues Updates - Fri, 07/23/2010 - 14:03
The issue had nothing to do with shared_ptr and everything to do with adding objects to the runtime from threads.
Status: Fixed
Categories: ChaiScript Updates
Syndicate content