Pro Tip: Visualizing Xtext Grammars with Eclipse GEF

The Xtext grammar is the central component when developing DSL workbenches based on the Xtext framework. In case of complex DSLs, analyzing the graphical representation of the *.xtext files could be useful to understand the structure of the defined grammar rules. Read more >

Testing Languages, Generators and Runtimes in a Safety-Critical System

Last year we ran a project with Voluntis in which we built DSLs for use in the healthcare domain. The benefits of the approach are readily obvious: the domain experts can much more easily review, test, explore, or even write the application logic. The overall development process will be streamlined, and ultimately, Voluntis will be able to create more products in a shorter time, which is good for business. Read more >

An Introduction to Modeling and Language Engineering – Christmas Edition Part 2

Now, with the basics of modeling covered in part 1, we can look into something else itemis does on a regular basis to solve tricky problems: Language Engineering. Read more >

An Introduction to Modeling and Language Engineering – Christmas Edition Part 1

It’s Christmas time again. Time to work less and play more. As a kid, a parent or just for the fun of it. Read more >

Debugging DSLs in Xtext and Eclipse

If you build your Xtext DSL using Xbase for your expressions and implementing a JvmModelInferrer for the Java Mapping you get Debugging in Eclipse for free. But what about if your DSL is not using Xbase but maps to Java anyway? With the Tracing Code Generator in Xtext 2.12 and its debugging extensions in Xtext 2.13 and a few lines of Gluecode you can achieve this as well. Read more >

Xtext and Controlled Natural Languages for Software Requirements (Part 1)

Stakeholders usually document requirements informally, i.e. in natural language. Often using text processing programs which do not provide any input assistance related to the requirements and do not allow their automated validation or post-processing. This leads either to higher efforts for cost intensive and time consuming human review processes or to reduced quality which can have a negative impact on subsequent development phases. To compensate these disadvantages of the usage of natural language in requirements documentation, various approaches exist. One of these approaches is to control the use of natural language by using templates in order to create acceptable requirements as they are written. This series shows how to create a controlled natural language based on sentence templates (we call them 'boilerplates') using Xtext. Read more >

COMMENTS

Popular posts