Modern language engineering with Langium
summary
Langium is a TypeScript-first framework that claims to turn a grammar into a working language with parsing, linking, scoping, validations, LSP support and code generation from a single grammar. It uses a Chevrotain-based parser, generates a typed semantic model and DI-friendly services, supports TypeScript-first framework workflows and two runtimes (frontend/backend language servers or browser-only architecture in a webworker). The demo builds a MiniLogo language, generates TypeScript canvas code, and the preview drawing and rename/validation features work end to end.
AI-written summary · about
chapters (4)
related talks
29mIntegrating Language Engineering into the Software Development Process
20mThe Lands Platform: Lan.guages and D.omain S.yntax
32mBuilding cloud-native (modeling) tools
45mHow to Make a Programming Language
33mBuilding a small Language with Go for fun
13mBrewing JavaScript: Compile your own domain-specific language to JavaScript
14mExample-Based Live Programming for Everyone: Building Language-Agnostic Tools for Live Programming w
31mBuilding an LSP Server in Zig
