Miro Spönemann
Langium: Design Your Own Language in Node.js and VS Code
#1about 4 minutes
Why you should create a domain-specific language
DSLs empower domain experts to implement business logic directly, overcoming the limitations of general-purpose tools and low-code platforms.
#2about 5 minutes
Fundamental principles of language design
Choose the right paradigm and abstraction level for your DSL, focusing on specificity rather than replicating general-purpose languages like JSON.
#3about 3 minutes
An overview of the Langium framework
Langium is a TypeScript-based toolkit for creating languages with built-in support for the Language Server Protocol (LSP) and VS Code extensions.
#4about 2 minutes
Defining language syntax and structure with a grammar
Use Langium's grammar language to define your language's syntax, including keywords, properties, and cross-references between different elements.
#5about 6 minutes
Demonstrating a Langium-powered VS Code extension
A live demonstration shows how a Langium-based extension provides rich editor features and a command-line interface for code generation.
#6about 4 minutes
How Langium processes code into an abstract syntax tree
Langium tokenizes and parses input text to create an Abstract Syntax Tree (AST), which serves as the central model for all language features.
#7about 5 minutes
Generating TypeScript types from your grammar
Langium automatically infers TypeScript interfaces from your grammar, but also supports explicit type declarations for better long-term project maintenance.
#8about 9 minutes
Scaffolding a new project with the Yeoman generator
Get started quickly by using the `yo langium` command to scaffold a complete, ready-to-use project for your new language.
#9about 7 minutes
Q&A on IDE support and technology stack choices
The discussion covers IDE compatibility, documentation support, and the benefits of a consistent TypeScript stack compared to Java-based alternatives like Xtext.
Related jobs
Jobs that call for the skills explored in this talk.
Hubert Burda Media
München, Germany
€80-95K
Intermediate
Senior
JavaScript
Node.js
+1
MARKT-PILOT GmbH
Stuttgart, Germany
Remote
€75-90K
Senior
Java
TypeScript
+1
Matching moments
03:28 MIN
Introducing the Langium framework for language engineering
Langium: Design your own language in Node.js and VS Code
01:16 MIN
How to get started with the Langium framework
Langium: Design your own language in Node.js and VS Code
01:18 MIN
Deploying Langium-based languages on the web
Langium: Design your own language in Node.js and VS Code
06:32 MIN
Demo: Building the MiniLogo drawing language with Langium
Langium: Design your own language in Node.js and VS Code
04:37 MIN
Langium's design goals and built-in cross-reference support
Langium: Design your own language in Node.js and VS Code
04:29 MIN
The value of understanding language internals
Making Sense of Programming Languages
02:27 MIN
Managing workspaces and integrating with IDEs via LSP
Langium: Design your own language in Node.js and VS Code
05:34 MIN
Designing developer tools and documentation for LLMs
WAD Live 22/01/2025: Exploring AI, Web Development, and Accessibility in Tech with Stefan Judis
Featured Partners
Related Videos
Langium: Design your own language in Node.js and VS Code
Irina Artemeva
Making Sense of Programming Languages
Aleksandra Sikora
Building software that scales with Typescript
Tal Joffe
Advanced Typing in TypeScript
Lars Hupel
Lies we Tell Ourselves As Developers
Stefan Baumgartner
Don't compromise on speedy delivery nor type-safety by choosing TypeScript
Jens Claes
Let's build a VS Code extension for automated refactorings
Nicolas Carlo
Writing a full-text search engine in TypeScript
Michele Riva
Related Articles
View all articles


.png?w=240&auto=compress,format)
From learning to earning
Jobs that call for the skills explored in this talk.

Confideck GmbH
Vienna, Austria
Remote
Intermediate
Senior
Node.js
MongoDB
TypeScript

freenet DLS GmbH
Büdelsdorf, Germany
Intermediate
Node.js
Angular
TypeScript

Visonum GmbH
Remote
Junior
Intermediate
React
Redux
TypeScript

Siemens Plc
Romsey, United Kingdom
Remote
Node.js
JavaScript
TypeScript
Unit Testing

Glückliche Gäste GmbH
Remote
API
Linux
Scrum
DevOps
+7



