Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Implementation of Mozilla's Parser API in JavaScript

tag: v0.0.3

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 dist
Octocat-spinner-32 examples
Octocat-spinner-32 lib
Octocat-spinner-32 scripts
Octocat-spinner-32 standalone
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 package.json
Octocat-spinner-32 reflectjs.png
README.md

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.

Something went wrong with that request. Please try again.