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.


Jean-Christophe Le Lann said on Monday, February 09, 2009:

Hello ! Rgen idea is great. However, despite my efforts, I still get an error when launching rake. on the example of the RGenStatechartExample-0.1.0 generator/templates/Classes/SimpleStateClass.tpl:1: uninitialized constant RGen::TemplateLanguage::DirectoryTemplateContainer::SimpleState (NameError)

Could you help ? JC

Stefan Kroes said on Tuesday, February 24, 2009:

Dear Martin,

I’m doing a very similar project for my master’s thesis. What is your motivation for developing RGen? Have you seen the RubyTL from Spain? Get in touch.

Post a comment

(required, but not displayed)