1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
---
title: SpiderMonkey
slug: SpiderMonkey
tags:
- SpiderMonkey
translation_of: Mozilla/Projects/SpiderMonkey
---
<div>{{SpiderMonkeySidebar}}</div>
<div class="summary">
<p><strong>SpiderMonkey</strong> is Mozilla's <a href="/en-US/docs/JavaScript" title="en-US/docs/JavaScript">JavaScript</a> engine written in C and C++. It is used in various Mozilla products, including Firefox, and is available under the MPL2.</p>
</div>
<p>Standalone source code releases can be found on the <a href="/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases">Releases page</a>.</p>
<div class="column-container">
<div class="column-half">
<h2 id="Creating" name="Creating">Guides</h2>
<h3 id="Building">Building</h3>
<dl>
<dt><a href="/en-US/docs/Mozilla/Projects/SpiderMonkey/Build_Documentation" title="SpiderMonkey build documentation">SpiderMonkey Build Documentation</a></dt>
<dd>How to get SpiderMonkey source code, build it, and run the test suite.</dd>
</dl>
<h3 id="Using_SpiderMonkey">Using SpiderMonkey</h3>
<dl>
<dt><a href="/en-US/docs/Mozilla/Projects/SpiderMonkey/Introduction_to_the_JavaScript_shell" title="Introduction to the JavaScript shell">Introduction to the JavaScript shell</a></dt>
<dd>Documentation of the command-line JavaScript shell, <code>js</code>.</dd>
<dt><a href="/en-US/docs/Mozilla/Projects/SpiderMonkey/JSAPI_User_Guide" title="en-US/docs/JSAPI_User_Guide">JSAPI User Guide</a></dt>
<dd>This guide provides an overview of SpiderMonkey and describes how you can embed engine calls in your applications to make them JavaScript-aware.</dd>
<dt><a href="/en-US/docs/Mozilla/Projects/SpiderMonkey/JSAPI_Cookbook" title="en-US/docs/SpiderMonkey/JSAPI_Phrasebook">JSAPI cookbook</a></dt>
<dd>Shows the JSAPI translation of some commonly used JavaScript expressions and statements.</dd>
<dt><a href="/en-US/docs/SpiderMonkey/GC_Rooting_Guide">GC Rooting Guide</a></dt>
<dd>Guide on how to write code compatible with the Generational GC in SpiderMonkey.</dd>
<dt><a href="/en-US/docs/How_to_embed_the_JavaScript_engine" title="en-US/docs/How_to_embed_the_JavaScript_engine">How to embed the JavaScript engine</a></dt>
<dd>An older tutorial about embedding SpiderMonkey.</dd>
</dl>
<h2 id="Hacking_on_SpiderMonkey">Hacking on SpiderMonkey</h2>
<dl>
<dt><a class="link-https" href="https://wiki.mozilla.org/JavaScript:New_to_SpiderMonkey" title="https://wiki.mozilla.org/JavaScript:New_to_SpiderMonkey">New to SpiderMonkey</a></dt>
<dd>A guide to hacking on SpiderMonkey.</dd>
<dt><a href="/en-US/docs/SpiderMonkey/Setting_up_CDT_to_work_on_SpiderMonkey" title="en-US/docs/SpiderMonkey/Setting up CDT to work on SpiderMonkey">Setting up CDT to work on SpiderMonkey</a></dt>
<dd>How to configure Eclipse to work on the SpiderMonkey code.</dd>
<dt><a href="https://www.youtube.com/watch?v=LaFbvPBr6GE">Contributing to SpiderMonkey</a> (YouTube)</dt>
<dd>A video that is less than four minutes long.</dd>
</dl>
<dl>
<dt><a href="/en-US/docs/SpiderMonkey/Running_Automated_JavaScript_Tests" title="Running automated JavaScript tests">Running Automated JavaScript Tests</a></dt>
<dd>How to run the JavaScript test suites.</dd>
<dt><a href="/en-US/docs/SpiderMonkey/Creating_JavaScript_tests" title="en-US/docs/SpiderMonkey/Creating JavaScript tests">Creating JavaScript tests</a></dt>
<dd>How to add tests to the JavaScript test suites.</dd>
</dl>
</div>
<div class="column-half">
<h2 id="Reference">Reference</h2>
<dl>
<dt><a href="/en-US/docs/Mozilla/Projects/SpiderMonkey/JSAPI_reference" title="en-US/docs/SpiderMonkey/JSAPI_Reference">JSAPI Reference</a></dt>
<dd>SpiderMonkey API reference.</dd>
<dt><a href="/en-US/docs/SpiderMonkey/JS_Debugger_API_Reference" title="en-US/docs/SpiderMonkey/JS Debugger API Reference">JS Debugger API Reference</a></dt>
<dd>API reference for the <code>Debugger</code> object introduced in SpiderMonkey 1.8.6, which corresponds to Gecko 8.0 {{ geckoRelease("8.0") }}.</dd>
<dt><a href="/en-US/docs/Mozilla/Projects/SpiderMonkey/Internals/Bytecode">Bytecode descriptions</a></dt>
<dd>Listing of SpiderMonkey's bytecodes.</dd>
<dt><a href="/en-US/docs/Mozilla/Projects/SpiderMonkey/Parser_API">Parser API</a></dt>
<dd>Reflection of the SpiderMonkey parser, made available as a JavaScript API.</dd>
</dl>
<h2 id="Tips_tricks_and_philosophy">Tips, tricks and philosophy</h2>
<dl>
<dt><a href="/en-US/docs/SpiderMonkey/Future_directions" title="en-US/docs/SpiderMonkey/Future_directions">Future Directions</a></dt>
<dd>Future directions for functionality, design, and coding practices.</dd>
<dt><a href="/en-US/docs/SpiderMonkey/Internals" title="en-US/docs/SpiderMonkey_Internals">SpiderMonkey Internals</a></dt>
<dd>A design overview and a file-by-file walkthrough of the implementation.</dd>
<dt><a href="/en-US/docs/SpiderMonkey/Bytecodes" title="en-US/docs/SpiderMonkey/Bytecodes">Bytecode Reference</a></dt>
<dd>SpiderMonkey bytecode reference.</dd>
<dt><a href="/en-US/docs/SpiderMonkey/Internals/Garbage_collection" title="en-US/docs/SpiderMonkey/Internals/GC">SpiderMonkey Internals: GC</a></dt>
<dd>Separate internals article on the GC</dd>
<dt><a href="/en-US/docs/SpiderMonkey/Hacking_Tips" title="en-US/docs/SpiderMonkey/Hacking_Tips">SpiderMonkey Internals: Hacking Tips </a></dt>
<dd>Collection of helpful tips & tools for hacking on the engine</dd>
</dl>
<h2 class="Related_Topics" id="Related_Topics" name="Related_Topics">Related Topics</h2>
<ul>
<li><a href="/en-US/docs/JavaScript" title="en-US/docs/JavaScript">JavaScript</a></li>
<li><a href="/en-US/docs/SpiderMonkey/FOSS" title="en-US/docs/SpiderMonkey/FOSS">FOSS projects using or based on SpiderMonkey</a></li>
</ul>
<h2 id="Releases">Releases</h2>
<dl>
<dt><a href="/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases">SpiderMonkey release notes</a></dt>
<dd>Current and past versions: <a href="/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases/52">52</a>, <a href="/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases/45">45</a>, <a href="/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases/38">38</a>, <a href="/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases/31">31</a>, <a href="/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases/24">24</a>, <a href="/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases/17">17</a></dd>
</dl>
<h2 id="Community">Community</h2>
<ul>
<li><a href="https://lists.mozilla.org/listinfo/dev-tech-js-engine">Mailing list</a></li>
<li><a href="http://stackoverflow.com/questions/tagged/spidermonkey">SpiderMonkey questions on Stack Overflow</a></li>
<li><a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Core&component=JavaScript%20Engine">Report a bug</a></li>
</ul>
<dl>
</dl>
</div>
</div>
|