BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Article: RGen: Ruby Modeling and Code Generation Framework

Article: RGen: Ruby Modeling and Code Generation Framework

In this article, Martin Thiede explains the ideas and concepts behind the RGen project, a framework that allows modeling and code generation in Ruby. The RGen project is used in a project "to build models and generate code for automotive embedded Electronic Control Units".

There are many interpretations of "model driven" development or software. RGen builds on the ideas and concepts from frameworks such as the popular Eclipse EMF or openArchitectureWare and brings them to the Ruby platform. RGen makes the best of Ruby's flexibility, for instance by using an internal Ruby DSL to define metamodels or code generation.

The article explains the ideas and concepts and also provides a full example of a “UML State Chart to C++ code generator” built with Ruby and RGen.
Read Martin Thiede on "RGen: Ruby Modeling and Code Generation Framework".

Rate this Article

Adoption
Style

BT