Skip to content

Sandbox AST Dictionary  #3

@wlawt

Description

@wlawt

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions