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.
Matching moments
07:47 MIN
Introducing the Langium framework for language engineering
Langium: Design your own language in Node.js and VS Code
00:04 MIN
The value of understanding language internals
Making Sense of Programming Languages
17:00 MIN
Designing developer tools and documentation for LLMs
WAD Live 22/01/2025: Exploring AI, Web Development, and Accessibility in Tech with Stefan Judis
26:09 MIN
How to get started with the Langium framework
Langium: Design your own language in Node.js and VS Code
12:35 MIN
Getting started with LangChain for Node.js
Building AI Applications with LangChain and Node.js
29:13 MIN
Exploring frameworks and tools for LLM development
Prompt Engineering - an Art, a Science, or your next Job Title?
18:19 MIN
Deploying Langium-based languages on the web
Langium: Design your own language in Node.js and VS Code
31:15 MIN
Conclusion and resources for language development
Making Sense of Programming Languages
Featured Partners
Related Videos
Langium: Design your own language in Node.js and VS Code
Irina Artemeva
Making Sense of Programming Languages
Aleksandra Sikora
Create DSL (Domain Specific Language) on top of Swift
Milan Todorović
How to become an AI toolsmith
Clemens Helm
Building AI Applications with LangChain and Node.js
Julián Duque
Livecoding with AI
Rainer Stropek
Building software that scales with Typescript
Tal Joffe
Speak, Code, Deploy: Transforming Developer Experience with Voice Commands
Sami Ekblad
From learning to earning
Jobs that call for the skills explored in this talk.
![Senior Software Engineer [TypeScript] (Prisma Postgres)](https://wearedevelopers.imgix.net/company/283ba9dbbab3649de02b9b49e6284fd9/cover/oKWz2s90Z218LE8pFthP.png?w=400&ar=3.55&fit=crop&crop=entropy&auto=compress,format)
Senior Software Engineer [TypeScript] (Prisma Postgres)
Prisma
Remote
Senior
Node.js
TypeScript
PostgreSQL


Founding Product Engineer
fonio GmbH
Vienna, Austria
Remote
€70-100K
Intermediate
Senior
React
Node.js
Next.js
+1


Software Engineer
tree-IT GmbH
Bad Neustadt an der Saale, Germany
Remote
€54-80K
Intermediate
Senior
Java
TypeScript
Spring Boot



