[fpc-pascal] Generating code form xmi files

Tomas Hajny XHajT03 at mbox.vol.cz
Thu Apr 2 22:03:14 CEST 2009


On 2 Apr 09, at 20:27, Jonas Maebe wrote:
> On 02 Apr 2009, at 15:56, philippe.martinole at teleauto.org wrote:
> 
> > Do you know if some code allready exist to generate Pascal code form  
> > xmi
> > files ?
> 
> What do you mean by generating Pascal code from xml files? Pascal code  
> describes an algorithm, while xml files usually describe data.

Well, XMI files, i.e. files used for exporting/storing various UML 
diagrams, are often supported by code generators. As an example, you 
could certainly generate Object Pascal classes from a UML class 
diagram. However, most generators only support Java and C++, that's 
probably the reason of this question. I cannot answer the question 
myself though.

Tomas




More information about the fpc-pascal mailing list