Automated Program Generation for and by Model Transformation Systems

Model transformationsystemsaregraphtransformationsystemsthat performtranslationsbetweenlanguagesdefinedby a correspondingmetamodel asthe type graph.The currentpaperproposesa reflective methodfor the automaticgenerationof the implementationfor suchtransformationsystemsderived from a high–level specificationconsistingof a setof graphtransformationrules anda controlflow graph.Theprogramgeneratortakesa UML profile tailoredto modeltransformationsystemsasthe input, andproducestheoutputPrologprogramby successi ve modeltransformationsteps.In this respect,only thecoreof theprogramgeneratoris implementedby hand,andafterwards,thiscoreprovides automationfor additionalfeaturesof theVIATRA modeltransformationsystem.