红联Linux门户
Linux帮助

Duktape 2.0.3发布,嵌入式JavaScript引擎

发布时间:2017-05-08 09:06:45来源:红联作者:baihuo
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 垃圾收集

自由许可证

下载地址:https://github.com/svaarala/duktape/releases/download/v2.0.3/duktape-2.0.3.tar.xz

来自:开源中国社区
文章评论

共有 0 条评论