Dlang grammar

Alexandru Ermicioi alexandru.ermicioi at gmail.com
Fri May 6 22:52:19 UTC 2022


On Friday, 6 May 2022 at 22:24:33 UTC, max haughton wrote:
> Vladimir and a few others have an effort to do a tree-sitter 
> grammar for D. That's the closest anyone has come in recent 
> years at least.
>
> What do you want the grammar for?

Well, I was trying to learn Truffle Language Implementation 
Framework 
(https://www.graalvm.org/22.0/graalvm-as-a-platform/language-implementation-framework) for starters, and then play a bit with it, and find out the features it provides, using D grammar as basis.

In long term (low probability) even to do some kind of D language 
interpreter for java. Just wondering how well is truffle api 
built for debugging, as well as for LSP integration.


More information about the Digitalmars-d mailing list