[fpc-pascal] Generating code form xmi files
Michael Van Canneyt
michael at freepascal.org
Fri Apr 3 11:12:42 CEST 2009
On Fri, 3 Apr 2009, Michael Van Canneyt wrote:
>
>
> 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.
Correction. It seems to have been implemented...
I must urgently upgrade my KDE :-)
Michael.
More information about the fpc-pascal
mailing list