In five minutes to transitive imports within a DSL with Xtext

Xtext allows elements in DSLs to be referenced in several ways. One is to import elements via namespaces. This is done through the use of ImportedNamespaceAwareLocalScopeProvider, and allows the import of individual or, using wildcards (. *), all elements of a namespace. Read more >

Building Domain-specific Languages with Xtext and Xtend

Specifying the requirements of a software system and converting such a specification into executable source code is difficult and error-prone. Requirements specifications written in prose are often ambiguous and hard to understand for developers. Therefore, the process of turning this documents into software is slow and prone to error. Domain-specific languages (DSL) challenge this problem by defining a semantically rich notation to describe domain concepts clear and concise. Read more >

Pro Tip: Visualizing Xtext Grammar 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 *.xtext files can be useful to understand the structure of the defined grammar rules. Read more >

Becoming Xtext Co-Project Lead

I started using Xtext more than 10 years ago. Back then it was a small part of the openArchitectureware framework. I began using it heavily after the move to Eclipse and got a power user and supporter in the newsgroups and forum. In 2016 I joined the Xtext Committer team and worked on the framework for about 50% of my time. Read more >

In 5 Minuten zur DSL mit transitiven Importen in Xtext

Xtext ermöglicht das Referenzieren von Elementen in DSLs auf mehrere Arten. Eine Möglichkeit sieht den Import von Elementen über Namensräume vor. Dies geschieht über die Verwendung des ImportedNamespaceAwareLocalScopeProvider und erlaubt den "Import" einzelner oder, unter Einsatz von Wildcards (.*), aller Elemente eines Namensraumes. Weiterlesen >

Machine Learning Formatting with Xtext: Part II

Hi folks! Some of you might have seen my earlier blogpost on Machine Learning Formatting. It was more or less meant as an advertiser for the Eclipse Democamp Munich. As promised, here comes the follow up blogpost with more details. Read more >

YAKINDU Solidity Tools beta released

A couple of months ago me and my colleague Florian Antony had the chance to attend a workshop on smart contract development with Solidity. The workshop was great fun and we learned a lot about blockchains, smart contracts and the like. What we also learned is that most editors for Solidity lack some important features that are crucial for developing high quality software. Read more >

Machine Learning Formatting with Xtext

Writing a codeformatter is boring and errorprone. I hate it because I'm lazy, but is there an alternative? Yes, of course! We're in 2017, folks! 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 >

A Bird’s View on Language Servers

To write computer programs different programming languages are used, often multiple languages for one piece of software. While programs can be written with very basic text editor like NotePad or vi, normally dedicated programming tools are used that give developers a more integrated and guided way of editing code. Read more >


Popular posts