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
Branch: es-next
Pull request Compare This branch is 1 commit behind zaach:es-next.

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

This is an experitmental ES.next->ES5 transpiler.

What works:

  • the <| operator -- defines the [[Prototype]] of a literal (uses __proto__)
  • the .{ operator -- extends the LHS object with properties from an object literal
  • object literal property shorthand -- {x, y} -> {x: x, y: y}

What sort of works:

  • let and const declarations: no block scope for let
  • super propertry references: no early syntax errors

Install

npm install reflect-next

CLI

reflect-next example/person.js > compiled.js
node compiled.js
Something went wrong with that request. Please try again.