GitHub Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto mode Back to homepage

Recipes

Where to go from here?

Take your time to study the recipes within the navigation on the left. They are designed to help you with common tasks and challenges you might face when working with Langium. If you have any questions or suggestions, feel free to create an issue or start a discussion on the Github repository.

After getting familar with Langium, you might investigate the growing ecosystem of Langium.

Typir

You need type checking for your expressions or programming language-like DSL in order to provide users with type-related validations? Typir is an open source TypeScript library for type checking and developing type systems in the web. Look at the LOX application to see how to apply Typir and its dedicated binding for Langium.

Langium-SQL

You are working with SQL or DSL targeting data bases? Checkout Langium/SQL for editing SQL schemas and queries and adjust it to the needs of your SQL dialect. Try it in the provided playground here.

Xtext-to-Langium

You have an existing Xtext project and are considering to migrate to Langium? Use xtext2langium to generate Langium grammars and type definitions from your existing Xtext grammars and Ecore models and start exploring DSL development with Langium.

Sprotty integration

You want to visualize programs conforming to your Langium DSL in a diagram? The open source TypeScript framework Eclipse Sprotty renders powerful diagrams and graphical visualizations for web applications and provides an integration with Langium.

Langium-AST-Helper

You want to work with the AST provided by Langium in a non-Langium context? The Langium-AST-Helper is a utility for transforming Langium ASTs into various data structures/formats for consumption as data.