[Uml-devel] codegenerators

Brian Thomas thomas at mail630.gsfc.nasa.gov
Thu Apr 3 21:12:11 UTC 2003


On Thursday 03 April 2003 23:27, Gustavo wrote:
>
> I have been checking ctags (http://ctags.sourceforge.net), this app
> generates an index (a file with a tag per line) of objects (functions,
> classes, etc) found in source files. What I like about it is that it
> supports 33 languages, and it can be used to minimize the amount of work
> when parsing source files. It can tell you in which line a function is
> defined, in which file and then all you have to do is write your a function
> parser (parse the function definition until it is over, without worrying
> about any function bodies. The same applies to class declarations, etc.
>
> Plus, when you are generating code from umbrello, each tag could be used as
> a link between the UMLObject and the corresponding code, so changes to
> class names of method names in diagrams can be propagated to code.
>
> Comments?

	This sounds very promising, enough so that I might reverse my initial 
	position that code parsing is too difficult. I plan to check it out in the morning
	and comment further then. Thanks for bringing this up.

						=b.t.





More information about the umbrello-devel mailing list