Langium: Design Your Own Language in Node.js and VS Code
Miro Spönemann - 2 years ago
I will show how you can easily design and implement your own text language including a compiler CLI and editor support for VS Code. The key ingredient for this is an exciting new open source framework named Langium. We created Langium based on the experience that I and my team at TypeFox have gained about designing programming languages and domain-specific languages over many years. Now we are keen on lifting these proven concepts into a new level enabling a much wider audience to make use of them.
We chose TypeScript and Node.js as platform because it's easy to build CLIs like compilers, transpilers and interpreters, and because it's the basis for VS Code extensions. By integrating with the Language Server Protocol, it's simple to provide the same editor support in other IDEs as well.
You will learn about language design in general and how you can elegantly solve problems using special-purpose languages. I will demonstrate how to get started with Langium with a few steps.