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
jeanas
left a comment
There was a problem hiding this comment.
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