acornjs / acorn-jsx

Alternative, faster React.js JSX parser
MIT License
648 stars 74 forks source link

acorn-jsx could be an extension of acorn? #20

Closed angelozerr closed 9 years ago

angelozerr commented 9 years ago

@RReverser I create this issue because I know you are working on official acorn. acorn-jsx is a copy/paste of the official acorn, but I tell me if acorn-jsx could extend acorn to customize it to support jsx in order to use last source of acorn.

I would like to provide a tern plugin for React inside Eclipse with https://github.com/angelozerr/tern.java but for that I need your work with acorn-jsx.

sebmck commented 9 years ago

A port of acorn-jsx as an acorn 1.0.0 plugin is available from the jsx branch in marijnh/acorn.

angelozerr commented 9 years ago

Very cool! Many thank's @sebmck !

angelozerr commented 9 years ago

Perhaps you should set the link https://github.com/marijnh/acorn/tree/jsx in the README of acorn-jsx?