-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
bqn: Add bqn language support. #3515
Conversation
JS File Size Changes (gzipped)A total of 2 files have changed, with a combined diff of +720 B (+26.7%).
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR @yewscion!
The code itself looks good, but please fix the formatting. We use ESLint to do that, so either install an ESLint plugin/extension for your editor or run npm run lint:fix
(this command won't work until the Unicode regex is fixed, see my last comment below).
Coverage tests fail because the |
+ Added Punctuation Test. + Added token test for 𝕣, _𝕣, and _𝕣_ 'special-name' tokens. ~ 'comment' token is now greedy. ~ 'shebang' token is now greedy and doesn't use '\s'. ~ Fixed Punctuation Regexp. ~ Formatted using `npm run lint:fix`. - Removed '/u' modifier flag from all patterns aside from 'special-name'.
Thank you for contributing @yewscion! |
Thank You @RunDevelopment! Sorry there were so many issues to fix; I will try to be more attentive in the future. |
Related to: #3514
This patch adds support for the BQN language to PrismJS, following the instructions in the documentation. Let me know if anything needs fixed before merge.