Skip to content

Add pattern matching plugin #17656

@NagayamaToshiaki

Description

@NagayamaToshiaki

💻

  • Would you like to work on this feature?

What problem are you trying to solve?

I'm planning to make the pattern-matching-to-TypeScript parser using Babel, however I found PM spec is not implemented. So I decided to make a fork of the Babel and modify it, but the repo is too huge to deal with.

Describe the solution you'd like

I would like to request the feature to add pattern matching proposal as a plugin.
I made a lot of tests (not covering all cases though) so I will contribute Babel by pushing them.

Describe alternatives you've considered

I was thinking about Acorn too but they have no issue about pattern matching proposal.

Documentation, Adoption, Migration Strategy

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions