Esprima update

This commit is contained in:
Jeremy Ruston
2012-05-07 09:43:29 +01:00
parent 3b2fcc83e7
commit ac50352877
30 changed files with 10934 additions and 7544 deletions
+11
View File
@@ -25,6 +25,15 @@
(also popularly known as <a href="http://en.wikipedia.org/wiki/JavaScript">JavaScript</a>)
parsing infrastructure for multipurpose analysis. It is also written in ECMAScript.</p>
<p>Esprima serves as a good basis for various tools such as source modification
(<a href="https://github.com/ariya/esmorph">Esmorph</a>), coverage analyzer
(<a href="https://github.com/itay/node-cover">node-cover</a> and
<a href="https://github.com/coveraje/coveraje">coveraje</a>),
source-to-source compiler (<a href="https://github.com/Yoric/Marv-the-Tinker">Marv</a>),
syntax formatter (<a href="https://github.com/fawek/codepainter">Code Painter</a>),
and code generator (<a href="https://github.com/Constellation/escodegen">escodegen</a>).
</p>
<p>Esprima can be used in a web browser:</p>
<pre>&lt;script src="esprima.js"&gt;&lt;script&gt;</pre>
@@ -68,11 +77,13 @@ for further info.</p>
<li><a href="demo/precedence.html">Operator precedence</a></li>
<li><a href="demo/collector.html">Regex collector</a></li>
<li><a href="demo/functiontrace.html">Function tracing</a></li>
<li><a href="demo/rewrite.html">Source rewrite</a></li>
</ul>
<h3>Harness tests</h3>
<ul>
<li><a href="test/index.html">Unit tests</a></li>
<li><a href="test/compat.html">Compatibility tests</a></li>
<li><a href="test/coverage.html">Coverage analysis</a></li>
</ul>
<h3>Need for speed</h3>
<ul>