Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Implementation of Mozilla's Parser API in JavaScript
JavaScript
tree: bce7b65d31

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
dist
examples
lib
scripts
standalone
test
.gitignore
.npmignore
Makefile
README.md
package.json
reflectjs.png

README.md

Reflect.js

Reflect.js is a JavaScript (ES3 compatible) implementation of Mozilla's Parser API. It does not currently support some of Mozilla's extensions, such as generators, list comprehensions, for each, E4X, etc. but may eventually support ones that are, or become Harmony proposals. Builders are also supported.

Parsing large files can be slow, for reasons articulated by Andy Chu.

Download

You can download a standalone version of reflect.js to embed in web pages here.

Install

Reflect.js is available as a CommonJS module for Node.js. Simply install it with npm:

npm install reflect

License

MIT X Licensed.

Something went wrong with that request. Please try again.