[Uml-devel] [Bug 113236] Add a code generator for c language

Sebastian Stein seb_stein at gmx.de
Sun Sep 25 12:49:04 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=113236         




------- Additional Comments From seb_stein gmx de  2005-09-25 21:48 -------
GB <silverhawk.os free fr> [050925 21:43]:
> Well, I don't know how they can generate c code from uml diagram, because I've
> never use these soft.
> Indeed, c is not object orientated, but nevertheless it's possible to have an
> approach of that...
> I think the most difficult part in c code generation are :
> - the virtuality mechanism
> - and the class derivation mechanism
> May be they introduce some limitations...


It can be done, because UML is not just class diagram. For example you can
take state diagrams to describe algorithms. Also think of the abstract
datatype concept in C. It was introduced before OOP came up. Also take a
look at the GNOME project, they use C in an object oriented way. In the end
you can do everything with a programming language. The question is just if
it is the best solution to use C for object oriented programming.


Sebastian




More information about the umbrello-devel mailing list