Concrete at Code Generation 2010

Posted by Administrator on Aug 20, 2010

I was very happy that my talk on Concrete was accepted at Code Generation 2010 in Cambridge this summer. This way, I had the chance to present the idea of editing (domain specific) models on the web to a larger audience of code generation and modelling experts. The feedback was very positive. People were surprised about the rich graphical representations of models which are possible with HTML and CSS, while still being editable in a textual way.

My slides are available in the documentation section.

0 Comments, Add Comment

Concrete Model Editor

Posted by Administrator on Feb 04, 2010

Yesterday I finally released the first version of the “Concrete” model editor. It realizes an idea which I have been working on for more than half a year. Concrete is a web-based model editor which supports DSLs defined by a metamodel and concrete syntax definition in HTML/CSS. It is independant of Ruby and RGen since it is basically just a Javascript widget which exchanges models in JSON format. However, my intention is to use it in conjuction with RGen and to give my RGen applications a new, web-based UI.

The project is hosted on github (http://github.com/mthiede/concrete) and there is also a screencast on Vimeo (http://vimeo.com/9164866).

If you are interested in this kind of thing and maybe want to participate in the project, please let me know. This is the first version of Concrete and there are many additional features thinkable.

Continue Reading…

0 Comments, Add Comment

RGen Article and Presentation

Posted by Administrator on Sep 15, 2009

Some more RGen documentation.

I have added a link to the RGen article I pushlished earlier this year on InfoQ.

Furthermore the slides I used at Code Generation 2009 conference are available now.

Continue Reading…

0 Comments, Add Comment

Examples used at Code Generation 2009

Posted by Administrator on Jun 18, 2009

You will find the examples used in my talk here.

Continue Reading…

0 Comments, Add Comment

RGen at Code Generation 2009

Posted by Administrator on Mar 16, 2009

I will do an RGen tutorial at Code Generation 2009 conference in Cambridge UK (June 16-18).

The first part of the 90min tutorial will cover the basics and also some advanced topics of RGen itself. I will explain the different DSLs, and their use in practice using examples.

In the second part I will talk about the RGen based “Pragma” tool, we are using a Lear Corporation to generate code for embedded, automotive Electronic Control Units.

See the Conference Program for details.

Continue Reading…

0 Comments, Add Comment

rgen-0.4.6 bugfix release

Posted by Administrator on Mar 01, 2009

Bugfix release rgen-0.4.6 is available at Rubyforge.

It fixes some problems which occured on Linux (non-Windows) systems.

First, some unit tests failed on Linux because of a problem with the handling of the \r\n line endings. Now, RGen can handle both kinds of line endings \n and \r\n. If a template file contains \r\n line endings (e.g. because it was made on a Windows box), the generator output will also contain \r\n line endings; independent of system the generator actually runs on. If a template file contains \n line endings, the output will contain \n line endings as well.

Second, this release fixes a problem which only occured with certain versions of the Ruby interpreter. With Ruby 1.8.6 on Fedora 9 for example, (metamodel) constants could not be resolved from within templates. This was due to a strange difference between Ruby interpreters regarding constant resolution from within dup’ed classes. The solution is not to used dup’ed classes for that specific purpose any longer.

Continue Reading…

0 Comments, Add Comment

Welcome to ruby-gen.org

Posted by Administrator on Dec 27, 2008

The RGen website ruby-gen.org is now up and running!

RGen is a Ruby based framework for the domain of modelling and code generation. It provides Ruby DSLs for building metamodels, model transformations and code generation templates. Metamodel definitions are based on ECore, so they are compatible with Eclipse EMF.

RGen has evolved over the last 2 or 3 years with the first public release in August 2006. As of last year RGen is used for building modelling and code generation tools for the automotive, embedded domain. Since then it has also been optimized for speed and for efficient processing of large models.

This site provides links to the RGen documentation and downloads on Rubyforge.

A first public example project is available in the downloads section. It shows how a UML statechart can be read in, transformed into an instance of a custom statemachine metamodel and finally turned into C++ code.

2 Comments, Add Comment