Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

103 lines (87 sloc) 4.889 kB
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="assets/style.css"/>
<div class="container">
<div class="topbar">
<ul class="nav">
<li><a href="index.html">&larr; Home</a></li>
<li><a href="">Code</a></li>
<li><a href="doc/index.html">Documentation</a></li>
<li><a href="">Issues</a></li>
<h1>Esprima <small>ECMAScript parsing infrastructure for multipurpose analysis</small></h1>
<div class="main">
<p><strong>Esprima</strong> is a high performance, standard-compliant
<a href="">ECMAScript</a> parser
written in ECMAScript (also popularly known as
<a href="">JavaScript</a>).</p>
<p>Esprima runs on web browsers (IE 6+, Firefox 1+, Safari 3+, Chrome 1+, Konqueror 4.6+, Opera 8+) as well as
<a href="">Rhino</a> and <a href="">Node.js</a>.</p>
<li>Full support for <a href="">ECMAScript 5.1</a> (ECMA-262)</li>
<li>Sensible <a href="doc/index.html#ast">syntax tree format</a>, compatible with Mozilla
<a href="">Parser AST</a></li>
<li>Heavily tested (&gt; 550 <a href="">unit tests</a> with solid 100% statement coverage)</li>
<li>Optional tracking of syntax node location (index-based and line-column)</li>
<li>Experimental support for ES6/Harmony (module, class, destructuring, ...)</li>
<p>Esprima is blazing fast (see the <a href="">benchmark suite</a>).
It is up to 3x faster than UglifyJS v1 and it is still
<a href="">competitive</a> with the new generation of fast parsers.</p>
Esprima serves as the basis for many popular JavaScript development tools:
<li>Code coverage analysis: <a href="">node-cover</a>, <a href="">Istanbul</a></li>
<li>Documentation tool: <a href="">JFDoc</a>, <a href="">JSDuck</a></li>
<li>Language extension: <a href="">LLJS</a> (low-level JS), <a href="">Sweet.js</a> (macro)</li>
<li>ES6/Harmony transpiler: <a href="">Six</a>, <a href="">Harmonizr</a></li>
<li>Eclipse Orion smart editing (<a href="">outline view</a>, <a href="">content assist</a>)</li>
<li>Source transformation: <a href="">node-falafel</a>, <a href="">Esmangle</a>, <a href="">escodegen</a></li>
<p>Feedback is welcomed! Please join the discussion in the <a href="">mailing list</a>.</p>
<div class="sidebar">
<h3>Semantic analysis</h3>
<li><a href="demo/parse.html">Code parser</a></li>
<li><a href="demo/validate.html">Syntax validator</a></li>
<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/highlight.html">Identifier highlight</a></li>
<h3>Source transformation</h3>
<li><a href="demo/rewrite.html">Source rewrite</a></li>
<li><a href="demo/minify.html">Minify</a></li>
<h3>Harness tests</h3>
<li><a href="test/index.html">Unit tests</a></li>
<li><a href="test/compat.html">Compatibility tests</a></li>
<li><a href="test/module.html">Module loading</a></li>
<li><a href="test/coverage.html">Coverage analysis</a></li>
<h3>Need for speed</h3>
<li><a href="test/benchmarks.html">Benchmarks suite</a></li>
<li><a href="test/compare.html">Speed comparison</a></li>
<br clear="all"/>
<div class="footer">
<strong>Esprima</strong> is created and maintained by <a href="">Ariya Hidayat</a>,
with the help of <a href="">many contributors</a>.<br/>
Follow <a href="">@Esprima</a> on Twitter to get the development updates.
<a href=""><img style="position: absolute; top: 0; right: 0; border: 0;" src="assets/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a>
Jump to Line
Something went wrong with that request. Please try again.