Skip to content

Sandbox AST Dictionary  #16

@ianjennings

Description

@ianjennings

From sandboxes created by wlawt: babel#3

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

Metadata

Metadata

Assignees

Labels

BabelBabel specific knowledge neededInterface

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions