[fpc-pascal] Generating code form xmi files
Michael Van Canneyt
michael at freepascal.org
Fri Apr 3 10:51:58 CEST 2009
On Fri, 3 Apr 2009, Graeme Geldenhuys wrote:
> On Thu, Apr 2, 2009 at 10:05 PM, Philippe Martinole
> <philippe.martinole at teleauto.org> wrote:
> >
> > xmi files (not xml) are used to save uml models :
> > http://en.wikipedia.org/wiki/XML_Metadata_Interchange
> > and I want to gererate my data structures from my uml diagrams
> > I would be suprised if nothing already exists
>
> I've been looking for something like this for a long time and haven't
> fond anything for Free Pascal / Lazarus. You can obviously use Model
> Maker and simply tweak the generated object pascal code to make sure
> they are compilable with FPC. But I believe Model Maker is quite
> pricey.
Well, Umbrello (Open source, comes with KDE) can generate code from XMI
for various languages (C,C++,PHP, Java) except pascal. All you need to
do is write an output engine for pascal.
It is on my todo list, item no. 132.458 :-)
Michael.
More information about the fpc-pascal
mailing list