Rozetta is an executable UML model compiler with various language targets including C, C#, Python etc.