gdamore / tree-sitter-d

D Grammar for Tree Sitter
MIT License
41 stars 7 forks source link

Support for token strings #1

Closed gdamore closed 1 year ago

gdamore commented 1 year ago

Syntax is q{....}

We could probably treat this trivially in the lexer if we don't want to reach into the string itself. If we do, it gets harder.