-
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
Added support for ReScript #3435
Added support for ReScript #3435
Conversation
JS File Size Changes (gzipped)A total of 3 files have changed, with a combined diff of +815 B (+16.1%).
|
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.
🎉
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 @vmarcosp!
I gave the language a quick review and found a few things.
@RunDevelopment some tests are broken, I'll fix and ping you back soon. |
🔥🔥🔥 |
Take your time. I'm currently reading through the docs, so I'll probably add a few more comments. |
Could we also add support for ReScript's char syntax? It could be done like this: 'comment': /.../,
'char': { pattern: /'.'/, greedy: true },
// ... Also, chars seem to be heavily discouraged in the docs. Will this be removed eventually? The syntax does seem to somewhat overlap with generics. |
Looks nice, I'll add. |
Another nice feature would be to highlight boolean literals. Please add |
I have a question about regexes. Is |
|
Are all PPX of the form |
There are three forms of ppx:
|
Sounds good. Then let's highlight |
The coverage CI test is currently failing because:
|
I'm running the tests locally just to make sure that everything is passing |
Some parts of the CI aren't part of |
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, @vmarcosp! I think the language is ready to go. Please run npm run build
to make the CI and then I'll merge this.
Thanks for your help 😄 |
@RunDevelopment is there an estimate for the next release that includes these changes? |
Probably this weekend. |
Oh, great! Tks |
I almost forgot, but since this pr is merged I think you can close this issue #3094 |
Added support for ReScript