Skip to content
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

language-reason support #1046

Closed
kennetpostigo opened this issue Oct 30, 2016 · 2 comments
Closed

language-reason support #1046

kennetpostigo opened this issue Oct 30, 2016 · 2 comments

Comments

@kennetpostigo
Copy link

kennetpostigo commented Oct 30, 2016

Hey,

I wanted to reach out to see if you guys could add syntax highlighting for code written in reason? For highlighting and grammar support for reason in editors the reason team created this. Do you think it would be possible to add reason to the list of supported languages?

@kennetpostigo kennetpostigo changed the title reason support language-reason support Oct 30, 2016
@Golmote
Copy link
Contributor

Golmote commented Nov 19, 2016

Hi! Well, the JSON grammar you linked to could be helpful, but it definitely requires some work, since it appears to be far more specific than what Prism would require, and it also seems to use POSIX character classes that JavaScript doesn't support. I might give a try anytime soon, though.

@Golmote
Copy link
Contributor

Golmote commented Nov 19, 2016

Support for Reason has been added.
I mostly based the component on the documentation. It looks quite partial, though... So I took the list of keywords directly from the lexer and added some stuff I found in the test files.

Hopefully I did not miss too many features. If you encounter issues using it, feel free to open some issues so we can improve the support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants