SpiderMonkey: The Mozilla JavaScript runtime 编辑

SpiderMonkey is Mozilla's JavaScript engine written in C and C++. It is used in various Mozilla products, including Firefox, and is available under the MPL2.

Standalone source code releases can be found on the Releases page.

Guides

Building

SpiderMonkey Build Documentation
How to get SpiderMonkey source code, build it, and run the test suite.

Using SpiderMonkey

Introduction to the JavaScript shell
Documentation of the command-line JavaScript shell, js.
JSAPI User Guide
This guide provides an overview of SpiderMonkey and describes how you can embed engine calls in your applications to make them JavaScript-aware.
JSAPI cookbook
Shows the JSAPI translation of some commonly used JavaScript expressions and statements.
GC Rooting Guide
Guide on how to write code compatible with the Generational GC in SpiderMonkey.
How to embed the JavaScript engine
An older tutorial about embedding SpiderMonkey.

Hacking on SpiderMonkey

New to SpiderMonkey
A guide to hacking on SpiderMonkey.
Setting up CDT to work on SpiderMonkey
How to configure Eclipse to work on the SpiderMonkey code.
Running Automated JavaScript Tests
How to run the JavaScript test suites.
Creating JavaScript tests
How to add tests to the JavaScript test suites.

Reference

JSAPI Reference
SpiderMonkey API reference.
JS Debugger API Reference
API reference for the Debugger object introduced in SpiderMonkey 1.8.6, which corresponds to Gecko 8.0 (Firefox 8.0 / Thunderbird 8.0 / SeaMonkey 2.5).
Bytecode descriptions
Listing of SpiderMonkey's bytecodes.
Parser API
Reflection of the SpiderMonkey parser, made available as a JavaScript API.

Tips, tricks and philosophy

Future Directions
Future directions for functionality, design, and coding practices.
SpiderMonkey Internals
A design overview and a file-by-file walkthrough of the implementation.
Bytecode Reference
SpiderMonkey bytecode reference.
SpiderMonkey Internals: GC
Separate internals article on the GC
SpiderMonkey Internals: Hacking Tips
Collection of helpful tips & tools for hacking on the engine

Releases

SpiderMonkey release notes
Current and past versions: 5245, 38, 31, 24, 17

Community

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:212 次

字数:6387

最后编辑:6年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文