发布于 2017-05-08 00:02:19 | 99 次阅读 | 评论: 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 垃圾收集

  • 自由许可证

下载地址:



历史版本 :
Duktape 2.0.3 发布,嵌入式 JavaScript 引擎
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务