Skip to content

DSL Tools Generator

A tool that takes an ANTLR grammar of your language and generates a VSCode extension, and C# code for a language server and AST class hierarchy.

Overview

.g4 grammar .json config grammar DSL Tools Generator DSL author ANTLR4 DSL implementation (C#) Lexer, Parser, Visitor, … AST custom language-specificanalysis logic LSP language server LSP VSCode extension (TypeScript) syntax highlighting AST explorer End-user

Next steps

Get dtg

Either install the DSLToolsGen dotnet tool and then run as dtg, OR run it directly using dnx (dnx DSLToolsGen)