Eric Foster 35b96bc934 initial commit 6 gadus atpakaļ
..
bin initial commit 6 gadus atpakaļ
doc initial commit 6 gadus atpakaļ
examples initial commit 6 gadus atpakaļ
test initial commit 6 gadus atpakaļ
.eslintrc initial commit 6 gadus atpakaļ
.npmignore initial commit 6 gadus atpakaļ
ChangeLog initial commit 6 gadus atpakaļ
LICENSE.BSD initial commit 6 gadus atpakaļ
README.md initial commit 6 gadus atpakaļ
component.json initial commit 6 gadus atpakaļ
esprima.js initial commit 6 gadus atpakaļ
index.html initial commit 6 gadus atpakaļ
package.json initial commit 6 gadus atpakaļ

README.md

Esprima (esprima.org, BSD license) is a high performance, standard-compliant ECMAScript parser written in ECMAScript (also popularly known as JavaScript). Esprima is created and maintained by Ariya Hidayat, with the help of many contributors.

Features

  • Full support for ECMAScript 5.1 (ECMA-262)
  • Sensible syntax tree format compatible with Mozilla Parser AST
  • Optional tracking of syntax node location (index-based and line-column)
  • Heavily tested (> 600 unit tests with solid statement and branch coverage)
  • Experimental support for ES6/Harmony (module, class, destructuring, ...)

Esprima serves as a building block for some JavaScript language tools, from code instrumentation to editor autocompletion.

Esprima runs on many popular web browsers, as well as other ECMAScript platforms such as Rhino and Node.js.

For more information, check the web site esprima.org.