language-reason support #1046

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

Projects

None yet

2 participants

@kennetpostigo
kennetpostigo commented Oct 30, 2016 edited

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 from reason support to language-reason support Oct 30, 2016
@Golmote
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 Golmote closed this in 3cae6ce Nov 19, 2016
@Golmote
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