Xtext-Editor für binäre Dateien

Im ersten Teil dieser Serie habe ich erläutert, wie sich mit Hilfe von Xtext ein Java-Bytecode-Editor entwickelt und nutzen lässt, mit dem sich die Inhalte von.class-Dateien sichtbar machen lassen. In diesem zweiten Teil möchte ich auf die technische Problemstellung eingehen, die sich ergibt, wenn man eine Binärdatei mit einem Xtext-basierten Editor bearbeitbar machen möchte. Weiterlesen >

4+1 = CAFEBABE: Java Bytecode in Eclipse

Was treiben Itemiker eigentlich an ihrem projektfreien 4+1-Tag? Sie bilden sich weiter, häufig mit der Arbeit an eigenen Ideen – und genau solch ein Projekt möchte ich heute vorstellen. Das Ziel war, sich in Xtext und Xtend einzuarbeiten. Herausgekommen ist dabei ein auf diesen Technologien aufbauender Java-ByteCode-Editor (JBC-Editor). Weiterlesen >

From classical language design to language engineering with Xtext

The first high-level programming language Plankalkül (Plan Calculus) from Konrad Zuse was developed between 1942 and 1945. Since this time, a lot of languages have been developed and discarded. But how is a language defined? What is a domain specific or visual language? And have all languages equal definition parts? What is different if we use Xtext?  Read more >

Get your first web-enabled DSL running in 60 seconds

Xtext is the most popular framework for delivering high quality domain-specific languages for the Eclipse community. Since version 2.9 it is web-ready and provides an interface for the integration of text editors in web applications, which we already use for various customers in production. Read more >

Building Xtext DSLs with Gradle

When it comes to picking a tool for building Xtext projects many users still prefer Maven Tycho. With the rise of Gradle as the primary build tool for many companies the game is gradually changing and developers exposed to Gradle hardly want to turn back to Maven (a full comparision between Gradle and Maven can be found here). However, developers who are not familiar with it have reservations to learn Gradle as it feels a bit fuzzy at first. Read more >

Xtext Hint: Identifiers conflicting with keywords

By default it is not possible to use identifiers for naming elements with a name that collides with a DSL's keyword. In regular programming languages this is also not possible. For example, it is not allowed in Java to name a variable, field or other element class, since it is a reserved verb. This article shows a pattern that allows to use keywords as identifiers. The source code for this example is available in our GitHub repository. Read more >

Get started with Xtext and Eclipse in 5 Minutes

With this post I'll demo the creation of a new Xtext project in Eclipse. I'll show you how to compile and start editors tailored to your languages for testing. Xtext offers the creation of such language-specific editors for the Eclipse platform, the IntelliJ IDEA platform, as well as for web browsers. Read more >

Get started with Xtext and IntelliJ IDEA in 5 Minutes

With this post I'll show you how to create a new Xtext project in IntelliJ IDEA. I show you how to compile and start editors tailored to your languages for testing. Within IDEA Xtext offers the creation of such language-specific editors for the IntelliJ IDEA platform as well as in web browsers. Read more >

COMMENTS

Popular posts