Skip to content

ravsii/tree-sitter-d2

Repository files navigation

tree-sitter-d2

Build & Test (main)

This is an alternative to pleshevskiy's tree-sitter-d2 (updated version).

WIP, THIS IS NOT USABLE YET

There's an alternative, why?

pleshivsky's version handles other locales and spaces very poorly.

Markdown is just a mess:

Missing highlighting on style block, ID and cyrillic using differeny scopes. Second shape (Заказ) is parsed as ERROR, but it's obviously correct.

Note

I've never done anything remotely close to parsing grammar, so there could be some bad patterns and simply bad code. Feel free to open issues.

About

Tree-sitter for d2lang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published