Skip to content

Conversation

@baruch
Copy link

@baruch baruch commented Jul 4, 2025

No description provided.

gdamore and others added 30 commits October 12, 2022 20:57
This covers the entire corpus of the our source code.
A rather incomplete test suite (contributions are welcome!)
is provided as well as some initial working queries.

D is a very complex language, without a good consistent
specification -- much of the work here was arrived at by
trial and error, working from the specification, and also
validating with actual source code.  There are still no
doubt some omissions.
This enables special formatting of TODO, etc.
gdamore and others added 27 commits September 17, 2024 05:46
This should help (but does not completely solve) with some grammar
issues with comments embedded in strings.  It also reduces the size
of the grammar a bit.
Note that there is still a problem with strings that have
embedded comments at the start.
The htmlentity is tokenized now as an escape sequence, and is n
longer differentiated from other escape sequences.  Update your
queries accordingly.
While here add support for escape characters and htmlentities to
the base highlights.
This essentially returns the !in and !is handling to the scanner,
which is necessary to avoid confusing the parser since these are
not "words".
Brings back htmlentity, adds tags queries, a few bugs in the parser
for comments.  This limits nesting comments to 5 levels deep.
…c2eef143f105def6fbf24f'

git-subtree-dir: vendored_parsers/tree-sitter-d
git-subtree-mainline: 093cfea
git-subtree-split: fb028c8
Implement support in difftastic for the D programming language
using the treesitter grammar provided in https://github.com/gdamore/tree-sitter-d
@baruch
Copy link
Author

baruch commented Jul 5, 2025

Resolved conflicts

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.

5 participants