[plt-scheme] Brainstorming about how to transform UML XMI into some code

From: Grant Rettke (grettke at acm.org)
Date: Sun Jun 10 12:41:44 EDT 2007

Hi folks,

Most good UML editors support the ability to export to XMI:


Regardless of our take on the role of UML and its editors, I've got a question.

We have been looking at a technology called OAW:


It provides a pretty straightforward way to transform XMI into
whatever you feel like generating. Using Eclipse it lets you write
transformations in a little statically typed functional language. For

<<DEFINE Root for data::DataModel>>
    <<EXPAND Entity FOREACH entity>>

That functions starts processing the model at the highest level and
for each Entity it has inside of it, call the function Entity (for
type Entity).

How would one approach something like this in Scheme?

Would it be obvious to me if I read EOPL or SICP how one may approach
this problem?

Posted on the users mailing list.