[Uml-devel] mmgen updates

Andrew Sutton ansutton at kent.edu
Tue Feb 18 12:19:19 UTC 2003


writing this is actually fun.

i'm in the middle of reworking some reference techniques that are used by the 
XMI representation of UML so i've disabled some of the functionality (parsing 
of operations - big deal). but, i've added imports and linking an import to a 
directory. the funny thing is, i made these changes for UML, but I can also 
parse the CWM metamodel specification too :)

for MOF, i'm almost perfect. I have to write some code that will recursively 
parse an external import. for some reason, the MOF metamodel and the 
primitive types metamodels have been separated. i don't think its a big deal 
though. it should take about half an hour to resolve.

if anybody tests this against uml or cwm, you might notice a bunch of 
attributes with <<unknown>> type. that's because they declare datatypes 
differently. instead of saying that something is of EnumerationType or 
PrimitiveType, they use these weird CORBA typecode system to build the type. 
i'm not going to implement that. rather, i'll modify the standard to be more 
"MOF-like". then it should work great. unless somebody else wants to do it.

i'm probably about a day away from perfect parsing of metamodel 
implementations. after that... code generation :) tons and tons of code 
generation. then we'll actually have something to work with for 2.0.

i should have done this a long, long time ago.

andy




More information about the umbrello-devel mailing list