World Congress 2022 • Jun 15, 2022

Langium: Design Your Own Language in Node.js and VS Code

Miro Spönemann

Are restrictive low-code tools holding back your domain experts? Build custom domain-specific languages natively in Node.js using Langium for out-of-the-box VS Code intelligence.

Pause
Mute Enter Fullscreen
#1 about 5 min

Business drivers for designing domain specific languages

Empowering non-technical domain experts with custom text models reduces development bottlenecks and bridges domain knowledge gaps.

#2 about 5 min

Choosing appropriate paradigms and abstraction levels

Designing optimal syntax requires balancing structural and behavioral patterns while favoring specific domain keywords over generic schemas.

#3 about 3 min

Langium architecture and ecosystem integration features

Leveraging typescript and the language server protocol enables seamless deployment to modern code editors and browser-based interfaces.

#4 about 3 min

Defining syntax rules and structural relationships

The internal grammar language specifies parsable elements like variable assignments and cross-references for custom data structures.

#5 about 4 min

Interacting with custom smart editors and CLI tools

Custom extensions provide real-time validation, symbol renaming, and automated code generation directly from the integrated terminal.

#6 about 3 min

Exploring internal project configurations and language servers

Launching the extension runtime utilizes node processes communicating over JSON RPC to drive automated code validation.

#7 about 4 min

Processing text into abstract syntax trees

Parsing input streams into abstract syntax trees drives symbol indexing, hard-link resolution, and custom logic constraints.

#8 about 5 min

Applying explicit types for stable language maintenance

Enforcing explicit return types prevents unexpected structural regressions during long-term maintenance of syntax generation tools.

#9 about 3 min

Bootstrapping new language projects via CLI generators

The integrated scaffolding tool instantly constructs functional baseline projects complete with automated typescript compilation setups.

#10 about 8 min

Building a hardware configuration language from scratch

Defining precise node combinations establishes an interactive compute board template mapping mathematical expressions to custom parameters.

#11 about 7 min

Integrating alternative environments and managing technology stacks

Consolidating around the typescript ecosystem prevents technology fragmentation compared to maintaining parallel Java-based backend implementations.

Matching moments

3:57 min

Simplifying language engineering with the Langium framework stack

Irina Artemeva · World Congress 2023

2:50 min

Practical applications of language parsing knowledge

Aleksandra Sikora · World Congress 2023

3:25 min

Constructing scalable AI solutions using LangChain and LangGraph

Julián Duque Julián Duque · World Congress 2025

1:22 min

Classifying domain specific languages as external or internal

Milan Todorović · World Congress 2023

1:10 min

Applying best practices to create intuitive custom languages

Milan Todorović · World Congress 2023

2:02 min

Understanding domain specific languages in software development

Milan Todorović · World Congress 2023