Micca - xUML Translation Tool
Micca is a program to aid in the translation of Executable UML (xUML) domain models into C code.
Executables are available from the download page.
The design, code and a fully worked out example are available in the literate program document.
Reference manual page documentation is also available.
Another example translation of the case study from the book, Executable UML: A Foundation for Model-Driven Architecture, by Stephen J. Mellor and Marc J. Balcer is available.