Code Mining Support in Xtext

One of the most notable new APIs in Eclipse Photon is called Code Mining. A code mining represents content (i.e. labels and icons) that are shown within the text editor, but are not part of the text itself. For example, within a method call statement a mining could display the name of parameters, or an icon above unit test methods could be shown that runs the test on clicking it. Read more >

How to Integrate Arduino with Eclipse Mita

Developing embedded devices, especially for IoT applications, can be a very complex task and requires a lot of knowledge. In the last blog post of my colleague Thomas Kutz we introduced Eclipse Mita, a new programming language designed for developing embedded IoT devices. It comes with a concise syntax based on event-driven paradigms and abstracts from the underlying hardware.  Read more >

Eclipse Mita – Bringing software development for the IoT to a higher level

Software development for embedded IoT systems is not an easy task. In most cases, you’ll have to write C or C++ code; both coming with a higher learning curve than modern programming languages like Go and Rust. And in most cases, you’ll have to write a fair amount of lines of code to make an LED blink, the Hello World application of embedded software development. However, especially when you come from an application development point of view, the real difficulty lies in dealing with the hardware you are developing for. Read more >

New File Wizard – einfach mit Xtext 2.14 generieren

Dass Xtext 2.14 in der Lage ist, einen New Project Wizard zu generieren, wurde bereits im Blog berichtet. Aber auch ein vergleichbarer, ebenfalls auf Templates basierender Wizard, um DSL-Dateien in bestehenden Projekten zu erzeugen, ist nun neu dazu gekommen. Weiterlesen >

Xtext 2.14 adds support for JUnit 5

Unit tests written for Xtext DSLs are typically using Xtext’s testing infrastructure provided by the org.eclipse.xtext.testing bundle. Older tests might even still use the deprecated org.eclipse.xtext.junit4 bundle. Tests for DSLs need to inject a language specific IInjectorProvider with an @InjectWith annotation. Additionally a specialized JUnit runner, the XtextRunner, is used with the @RunWith annotation to run the test.  Read more >

Announcement: Xtext 2.14 RC1 is now available

The Xtext team proudly announces the availability of the first release candidate for the upcoming 2.14 release.  Read more >

Xtend 2.14 – Unnecessary modifiers validation

In the Xtend programming language, visibility modifiers are unnecessary when they match the defaults. The public modifier is default on: Classes Interfaces Enums Annotatitons Constructors Methods The private modifier is default on: Fields Read more >

New Project Wizard: einfach mit Xtext 2.14 generieren

Wer DSLs mit Eclipse Xtext umsetzt, profitiert davon, dass die notwendige Infrastruktur automatisiert aus der Grammatik erzeugt wird. Mit minimalem Aufwand entsteht somit eine Umgebung, in der alles gegeben ist, um direkt mit der eigenen DSL durchzustarten. Eine Grammatik und zwei Knöpfe später startet man voller Vorfreude Eclipse und fragt sich zunächst, welche Art von Projekt zu erstellen ist. Diese Frage beantwortet Xtext bisher nicht und der Entwickler hat die Wahl.  Weiterlesen >

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 >

COMMENTS

Popular posts