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

Add HLSL lexer #1520

Merged
merged 6 commits into from Jun 3, 2020
Merged

Add HLSL lexer #1520

merged 6 commits into from Jun 3, 2020

Conversation

mitjmcc
Copy link
Contributor

@mitjmcc mitjmcc commented May 28, 2020

Adding a lexer for HLSL.

Based off of the TextPad HLSL lexer and the Pygment HLSL lexer.

XierCKYRu5

@pyrmont pyrmont self-assigned this May 30, 2020
@pyrmont pyrmont added the needs-review The PR needs to be reviewed label May 30, 2020
Copy link
Contributor

@pyrmont pyrmont left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mitjmcc Thanks for the PR! It looks quite good. Let me know if you have any questions!

lib/rouge/lexers/hlsl.rb Show resolved Hide resolved
lib/rouge/lexers/hlsl.rb Show resolved Hide resolved
@pyrmont pyrmont added author-action The PR has been reviewed but action by the author is needed and removed needs-review The PR needs to be reviewed labels May 31, 2020
@pyrmont pyrmont merged commit 45c3f41 into rouge-ruby:master Jun 3, 2020
@pyrmont
Copy link
Contributor

pyrmont commented Jun 3, 2020

@mitjmcc Thanks for the submission! This has been merged and will be part of v3.20.0 of Rouge. That version will be pushed out to RubyGems on Tuesday 9 June. Hope to get it into your hands soon! 🎉

@pyrmont pyrmont removed the author-action The PR has been reviewed but action by the author is needed label Jun 3, 2020
mattt pushed a commit to NSHipster/rouge that referenced this pull request May 19, 2021
This commit adds a lexer for HLSL.

Co-authored-by: Michael Camilleri <mike@inqk.net>
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

Successfully merging this pull request may close these issues.

None yet

2 participants