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.
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.
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)
I would like to use ChaiScript as a static/dynamic library for my projects.
Is there any chance I won't have to write a wrapper?
My problem is mainly the single .hpp file approach.
I know about the compilation firewall technique but I would like to avoid doing this.
(Best case would be a dll I could just replace with the latest version on a software update)
What you are asking for is
What you are asking for is virtually impossible. We could build a library, but it could not be used in the way you ask. The problem is that most of ChaiScript is necessarily template based. Templates are required for automatically determining the types of objects and functions that are wrapped. Any change to the ChaiScript internals would invalidate the code you have wrapped and swapping out a DLL would do no good.
Your best bet would be to just keep using it as a header only library and swap out your shared code as a DLL.
-Jason