Sessions at Code Generation 2011 about Domain SpecificĀ Languages

Your current filters are…

Wednesday 25th May 2011

  • Xtext Take I: Crafting domain specific languages with Xtext and Xbase

    by Jan Koehnlein, Xtext dev team, Sven Efftinge and Sebastian Zarnekow

    Xtext is a framework that allows you to create your very own domain specific languages and IDEs. The next version will be released in June together with Eclipse Indigo. This session is an opportunity to learn about the new features and noteworthy additions.

    A huge enhancement in Xtext 2.0 is the reusable language library Xbase. Xbase is an extendable expression language developed with Xtext that integrates tightly with the Java platform and Eclipse's Java development tools (JDT). Xbase is supposed to be mixed into your very own DSLs. Any language developed with Xtext can now contain Xbase's full-blown expressions. Ugly workarounds such as modifying generated code have
    finally become obsolete.

    Besides the opportunity to mix-in Xbase into your DSL, the Indigo release comes with many other important enhancements. Among them you will find a generic, cross language rename refactoring, a graphical grammar syntax view and support for rich documentation hovers.

    In this hands-on tutorial we first give an overview on Xtext 2.0, before you develop a small DSL embedding Xbase.

    At 11:00am to 12:15pm, Wednesday 25th May

  • Graphiti + Xtext: mixing graphical and textual DSLs for sprayers/designers

    by bernhard.merkle and kthoms

    Eclipse is well known as generic plugin platform and powerful language and modeling IDE. DSLs come typically in various representation forms, be it textual, graphical, tabular or other kinds of notations. Often a special form is advantageous in certain situations, e.g. for user interfaces or statemachines graphical DSL are appropriate whereas data structures and algorithms are best coded in textual DSLs. In this session we will show a mixture of graphical and textual DSLs, built with a combination of eclipse graphiti and Xtext.

    At 3:45pm to 4:30pm, Wednesday 25th May

Thursday 26th May 2011

  • Cross-Platform Mobile Development with DSLs

    by Peter Friese and Heiko Behrens

    Developing great apps for mobile platforms like Android, iOS, Windows Phone 7 or the mobile web is a challenging task: you have to cope with limited resources, small screens and spotty connectivity. Designing a great app for one platform is challenging enough, delivering cross-platform apps even more so! A number of different approaches have been thought out, most of them using web technologies as an abstraction layer.

    In this session, we will take a quick glance at the various approaches to build cross-platform mobile apps. In particular, we will take a closer look at using model-driven technologies to design apps that run on iOS, Android, Windows Phone 7 and the mobile web. After highlighting important conceptual design considerations we will demonstrate a DSL we developed (of course using Xtext) live in action. Be prepared for an entertaining demo and be sure to bring your own phone, as it might help you to win a prize! After the demo, we will dive into the implementation of the mobile DSL and highlight some interesting aspects like the design of the DSL and the code generator.

    At 1:00pm to 2:15pm, Thursday 26th May