Skip to content

Can I change the SWC parser’s behaviour to allow hyphens in identifiers? #5523

Answered by kwonoj
rinarakaki asked this question in Q&A
Discussion options

You must be logged in to vote

SWC will not support non-ECMA syntaxes out of the box. It is up to your preference if you take some of the building blocks for the SWC from rust pacakges to invent new semantics.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kwonoj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #5522 on August 17, 2022 05:07.