Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Add Espree Parser #77

Closed
xjamundx opened this issue Jun 25, 2015 · 4 comments
Closed

Add Espree Parser #77

xjamundx opened this issue Jun 25, 2015 · 4 comments

Comments

@xjamundx
Copy link

Let's do an updated version of this using espree:
http://esprima.org/demo/parse.html

We could borrow the style used here:
https://babeljs.io/repl/

xjamundx pushed a commit to xjamundx/eslint.github.io that referenced this issue Aug 14, 2015
xjamundx pushed a commit to xjamundx/eslint.github.io that referenced this issue Aug 14, 2015
xjamundx pushed a commit to xjamundx/eslint.github.io that referenced this issue Aug 14, 2015
ilyavolodin added a commit that referenced this issue Aug 18, 2015
@xjamundx
Copy link
Author

This is super cool:
http://felix-kling.de/esprima_ast_explorer/

@IanVS
Copy link
Member

IanVS commented Aug 22, 2015

Very nice indeed! Looks like he's planning to add other parsers as well (Espree included): fkling/astexplorer#20

@fkling
Copy link

fkling commented Aug 22, 2015

I'm almost there, will publish something in the next few days.

I was also thinking to support eslint plugin prototyping. Currently, when you click the transform button, you will get jscodeshift for generic AST-to-AST transform stuff. But if I generalize this a bit, then the "transform" could be interpreted as eslint plugin (and load and run eslint). It should be relatively easy then to add new tools. That's a bit further down the road though.

@fkling
Copy link

fkling commented Aug 24, 2015

Added espree and got a shine new domain: http://astexplorer.net/.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants