Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: v0.0.2
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (14 sloc) 0.977 kB

Reflect.js

Reflect.js is a pure JavaScript implementation of Mozilla's Parser API. It does not currently support Mozilla specific extentions such as let, generators, list comprehensions, patterns, E4X, etc. but may eventually support ones that are/become Harmony proposals. I'll probably add patterns next because those are pretty sweet.

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.

Jump to Line
Something went wrong with that request. Please try again.