-
Notifications
You must be signed in to change notification settings - Fork 743
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
GHC Core #1377
GHC Core #1377
Conversation
Core is an intermediate language of the Glasgow Haskell Compiler.
Group names seem to be incompatible with Ruby 2.0
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.
This looks like a really impressive lexer! Thanks for submitting the PR. I've left some comments above. Let me know if anything is unclear :)
In addition, could you cut down the size of the visual sample? It's too long at the moment. Ideally, it should be just enough to visually test the rules.
It's sufficient if there is one non-whitespace character after `:`.
@supersven Sorry, one minor change: I renamed the class to be a little more consistent with the general approach taken with Rouge's lexers. It's not always universally followed but it should be done this way. |
Hey @pyrmont , Thanks a lot for the review and your changes! I forgot to mention one thing: If you like, you can squash the commits during merge. I think that my "baby step" commits might be more confusing than helping in the long run ... 😄 |
@supersven Yep, I always squash the PR commits into a single commit before merging. Helps to keep the commit history nice and clean :) Thanks again for all the work! 🎉 The next version of Rouge will be out on Tuesday 14 January. This will be part of that release :) |
@pyrmont , |
Add Lexer for GHC Core
Core is an intermediate language of the Glasgow Haskell Compiler.