Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sandbox AST Dictionary #3

Open
wlawt opened this issue Jul 1, 2020 · 3 comments
Open

Sandbox AST Dictionary #3

wlawt opened this issue Jul 1, 2020 · 3 comments

Comments

@wlawt
Copy link

wlawt commented Jul 1, 2020

Feature request for Sandbox

The problem is: developers contributing first time to Babel may/may not understand the concepts being used

Outputs we'd consider:

  • Be able to highlight input code and map to AST
  • Mapping between AST nodes to high-level examples (i.e. ; is an EmptyStatement)
  • For each mapping we can have definitions that explain what an EmptyStatement is and other examples that a developer can cycle through

Design spec:

  1. Lots of definitions & examples can be referenced from the Babel parser and handbook
  2. The highlighting should work similar to https://astexplorer.net/

UI Design:

Other possibilities:

  • When searching for "other examples", the added possibility to search through Github and find what other contributors previously used as examples/test cases
@ianjennings
Copy link

ianjennings commented Jul 6, 2020

From https://hackmd.io/js_I3MpUR8GuSvv55DOnGw:

@ianjennings
Copy link

Kamino closed and cloned this issue to MLH-Fellowship/babel-sandbox

@ianjennings
Copy link

Kamino closed and cloned this issue to MLH-Fellowship/babel-sandbox

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

No branches or pull requests

2 participants