ChaiScript 是第一个也是目前唯一一个与C++的兼容性的脚本语言,受 EMCAScript影响的嵌入式的功能性语言。 新版本包含众多新特性,包括自动的线程安全支持、本地动态对象支持、从已有的C++类中扩展新方法,更好的异常处理 等等。 New features include automatic thread-safety, native dynamic object support, support for extending existing C++ classes with new methods, try/catch/finally exception handling with guarded catch blocks, support for throwing exceptions, binary module loading, readline support for command line eval, NaN and Infinity support, in-string evaluation, and faster compilation. Const support was improved, so C++ const objects and parameters should be fully respected now. Runtime execution is approximately 25% faster. std::list support was added. Simple multiline splitting of argument lists was added |