发布于 2017-05-08 00:02:19 | 100 次阅读 | 评论: 0 | 来源: 网友投递
Duktape 嵌入式 JavaScript 引擎
Duktape 是一个嵌入式的 JavaScript 引擎,重点是可移植性和精简。
Duktape 2.0.3 更新内容:
Fix incorrect assert for RETCONSTN opcode when refcounting is disabled, actual behavior is correct however
Fix potentially stale duk_tval pointer in duk_inspect_value(), also affects Duktape.info()
Fix Symbol Object .valueOf() which returned the Symbol Object rather than the underlying plain Symbol
Fix RegExp group parsing to reject invalid groups like /(?Xabc)/, previously they were accepted silently
Fix potentially stale duk_tval pointer in Proxy deleteProperty handling
Fix missing duk_require_stack() in bound function call handling which caused calls to bound functions with a lot of bound arguments to fail with a value stack limit error
Fix duk_hbufobj assert in shared slice() handling
Duktape 可以方便的集成到已有的 C/C++ 项目中,只需要添加 duktape.c 和 duktape.h 即可。
主要特性:
嵌入式、可移植,轻量级
遵循 Ecmascript E5/E5.1
内建正则表达式引擎
内建 Unicode 支持
最小的平台依赖
合并引用计数和 mark-and-sweep 垃圾收集
自由许可证
下载地址: