E&S CVS Commit: PEAK - Added ability to generate code for primitive types like strings, integers,

pje at eby-sarna.com pje at eby-sarna.com
Mon Feb 17 14:49:00 EST 2003


Module Name:	PEAK
Committed By:	pje
Date:		Mon Feb 17 19:48:11 UTC 2003

Modified Files:
	PEAK/src/peak/metamodels: MOF131.py
	PEAK/src/peak/model: datatypes.py mof2py.py

Log Message:
Added ability to generate code for primitive types like strings, integers,
etc.  Misc. cosmetic fixes to generated code including linespacing
adjustments and writing module-level docstrings if the MOF package has
an annotation.  Generated code looks pretty good now, for generated code.
Documented the remaining limitations/holes.  All we need is a way to index
names for XMI, and we can start trying to replace the existing
'peak.metamodels.uml' junk with clean generated code, add UML 1.4 support,
etc.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/metamodels/MOF131.py.diff?r1=1.13&r2=1.14
http://cvs.eby-sarna.com/PEAK/src/peak/model/datatypes.py.diff?r1=1.8&r2=1.9
http://cvs.eby-sarna.com/PEAK/src/peak/model/mof2py.py.diff?r1=1.5&r2=1.6

To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 PEAK/src/peak/metamodels/MOF131.py
cvs rdiff -r1.8 -r1.9 PEAK/src/peak/model/datatypes.py
cvs rdiff -r1.5 -r1.6 PEAK/src/peak/model/mof2py.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list