DSL

Natural Language and DSLs

Posted by Andreas Graf on 7. Juli 2010 at 4:26 pm

A year ago I had blogged about Inform 7, an interesting DSL for the implementation of interactive fiction. I had briefly explored it, but didn’t do much more, because some of the concepts made it hard to use for my purposes (e.g. “relations” could only be defined between instances of objects, not classes. So you [...]

Xtext, BNF, Marte and MSCs

Posted by Andreas Graf on 12. März 2010 at 1:24 pm

Currently we are doing some work on the specification of non-functional properties (such as timing) in the ITEA2 VERDE project. In VERDE, the UML profile MARTE plays a major role. MARTE has a BNF-based Value Specification Language that can be used to specify, amongst other things, timing like The VSL is specified in typical BNF [...]

Another kind of domain specific

Posted by Andreas Graf on 11. März 2010 at 12:24 am

On the lighter side of DSLs, Xtext 0.8M5 fixes a bug with unicode characters. It is now possible to use Unicode characters in literals of your grammar.
So the example grammar of new Xtext Projects in Chinese could look like this:

Of course, content assist and outline are fully supported:

All you have to do is to set [...]

UML, good or bad?

Posted by Andreas Graf on 27. September 2009 at 2:16 pm

Via Adriano Comai I stumbled upon Ivar Jacobson’s article  “Taking the temperature of UML” , an interesting view of one of UML founders on the UML.  One of the important quotes is:
Still, UML has become complex and clumsy. For 80% of all software only 20% of UML is needed. However, it is not easy to [...]

Setting up Conversion of Xtend and UML datatypes in Galileo

Posted by Andreas Graf on 17. August 2009 at 12:07 pm

I was just trying to set up a M2M transformation from a textual DSL to UML2 with the Galileo release. Obviously, a lot of paths have changed from oAW to Galileo, so this needs some work. However, I had an error, that annoyed me. In the editor, everything was fine, no errors, but when running [...]

??????????

Posted by Andreas Graf on 31. Juli 2009 at 11:56 am

itemis ????????????????? . Xtext ? Textual Modeling Framework?TMF???????????? Galileo ??????. ???? Xtext ??? EBNF ???? DSL???????????????? AST ?????? EMF ???????????? Eclipse ??????

Vortrag auf der Embedded Software Engineering Kongress 2009 in Sindelfingen

Posted by Andreas Graf on 31. Juli 2009 at 11:44 am

Wir halten am 10.Dezember 2009 um 16:00 Uhr einen Vortrag über die Einführung von MDSD in einem Projekt auf dem Embedded Software Engineering Kongress 2009 in Sindelfingen:
Textuelle domänenspezifische Sprachen sind ein starker Trend in der Software-Entwicklung.  Welche Lessons-Learned macht ein mittelständisches Unternehmen bei der Einführung von modellbasierter Software-Entwicklung für  Embedded Systems? In diesem [...]

Scoping with Xtext / TMF

Posted by Andreas Graf on 27. Juli 2009 at 6:53 pm

The new Xtext version in Galileo changed a few things. To do scoping, a little bit of Java development is necessary. Documentation is very brief, but with a little research it is quite easy. Consider the following grammar, that allows us to define components, instances of those components and – the interesting part here – [...]

Screencast Transcript: MDSD for on- and off-board software

Posted by Andreas Graf on 22. Juli 2009 at 2:33 pm

This is a transcript of the first itemis screencast introducing model based design and implementation for embedded systems. It is intended for those readers that cannot access the screencast. The screencast is on Youtube.

Introduction

Welcome to the itemis introduction screencast for Model Driven Software-Design for On- and Off-board software.
This is the first in a [...]

Uses of Textual DSLs: IF (Interactive Fiction)

Posted by Andreas Graf on 19. Juli 2009 at 11:12 am

I was reminded of the early age of text adventures by this slashdot article. The great adventures by Infocom and Magnetic Scrolls bring back memories of long hours of trying to solve puzzles. Text adventures have long lost their market share to graphical adventures, but it seems there is a strong community of interactive fiction. [...]