-
Notifications
You must be signed in to change notification settings - Fork 677
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 new lexer for DAX #2335
Add new lexer for DAX #2335
Conversation
Includes new lexer for DAX syntax. Inspired by Highlighter Brush from SQLBI https://github.com/sql-bi/SyntaxHighlighterBrushDax
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 working on this.
Here are some comments. Also, please add a test file under tests/examplefiles/dax/
and run pytest --update-goldens tests/examplefiles/dax/
to populate it with the expected tokens, then commit tests/examplefiles/dax
.
You also need to run |
Co-authored-by: Jean Abou-Samra <[email protected]>
This was included: https://github.com/pygments/pygments/pull/2335/files#diff-1fcf14767c363b55c2b7e1612366433010e2509ea8d34509cfa36125d9989daa |
Remove dax builtins, and commit examples & output.
@GD-L One last question, afterwards should be good to go. |
@jeanas Thanks for your help, learned a lot doing this! |
Thanks for your contribution! |
Includes new lexer for DAX syntax. Inspired by Highlighter Brush from SQLBI
https://github.com/sql-bi/SyntaxHighlighterBrushDax