Combining Languages with Xtext

Session Type: 
Standard [35 minutes]
Speakers

When you reflect on the name “Domain Specific Languages”, you’ll quickly notice, that “Domain Specific” implies that a DSL only excels at one certain thing - its domain. Real-world projects, however, tend to combine multiple (technical) domains. The classic example is the web project, which combines database access with business logic and web page rendering.

Therefore, the need arises to combine multiple DSLs - which shall be distinct languages and yet integrated with each other. Integration may be in in the same project or even in the same file.

There has been some confusion about how languages can be combined when using Xtext. There are several ways to do it and one even allows for integration with non-Xtext languages. In this talk, I will explain based on examples what is possible and I will discuss the boundaries.

Schedule info

Status: 
Declined

Audience

Track: 
DSL
Experience level: 
Advanced

Copyright © 2013 The Eclipse Foundation. All Rights Reserved.