txtUML models can be run and debugged as Java programs. The sample models in SimpleMachine.java, SmartMachine.java and Train.java are all equipped with main functions. Create appropriate run/debug configurations in Eclipse to start them.
It is possible to create diagram definitions textually for txtUML models. See the
MachineDiagram class in
SimpleMachine.java for an example. In order to generate Papyrus models and diagrams, use the Generate diagrams from txtUML command from the txtUML menu. The paremeters are the name of the project, the fully qualified name of the class containing the model and the fully qualified name of the class that contains the diagram definition.
There is an experimental C++ model compiler in hu.elte.txtuml.export.cpp_(version).jar, that comes with the txtUML installation. It is a command line Java program and is not yet integrated with the rest of the txtUML Eclipse surface. We expect it to be integrated in a later release.