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".
Article is really worth reading
by
Christian Tschenett
Interesting article on a tool which connects ruby - MDA/MDD
by
Martin Karlsch
What is your solution for inter model referencing?
I created something similar for the Python world two years ago but not that advanced. It was a part of my master thesis ( called Frodo) and had a slightly different focus. It supported the loading of ecore models and the definition of a concret syntax. If RGen was release by that time, it would have been a great starting point for further experiments/contributions :-).
Educational Content
Intro to CLP with core.logic
Ryan Senior Jun 18, 2013
Spock: A Highly Logical Way To Test
Howard Lewis Ship Jun 18, 2013
Java Garbage Collection Distilled
Martin Thompson Jun 17, 2013
C++11 The Future is Here
Bjarne Stroustrup Jun 16, 2013
The Big Data Revolution
Claudia Perlich Jun 16, 2013




Hello stranger!
You need to Register an InfoQ account or Login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think