[Uml-devel] extending class import to other languages

James E. Flemer jflemer at acm.jhu.edu
Wed Jan 15 13:50:09 UTC 2003


On Wed, 15 Jan 2003, Sebastian Stein wrote:

> James E. Flemer <jflemer at acm.jhu.edu> [030115 17:53]:
> > [ Not subscribed, please maintain CC. ]
>
> Please subscribe ;-)

Alright.  I'm subscribed meow.

> > I was mainly thinking about PHP, but also Java perhaps.  The Rev. Eng.
> > framework sounds like it would work.  Is any of this in the cvs tree yet?
> > I admit I've only looked at the code from the latest release so far, but
> > I'll checkout the code from cvs soon.  How much "dirty work" will the RE
> > base handle, and what will be left to implement for each new language?  It
> > would be pretty slick if all that was needed was to write a little (f)lex
> > code and a small wrapper classe (perhaps just extending a provided one).
>
> At the moment the parsing stuff is from an older version of KDevelop. In the
> future the whole app will be in some way scriptable, so that you can create
> classes, associations, diagrams or whatever, over an well-defined interface.
> The other way around would also work, you can receive all information in a
> very easy way from the internal model.
>
> So you see we are planning the basis of round trip engineering for the next
> release. If somebody stands up and writes a parser is another question. So
> your are very welcome to do it ;-)

I'll get started on a PHP parser ... the lex part should be
pretty easy, assuming this is up to date:

http://cvs.php.net/cvs.php/php-lang/c-like-syntax-spec.txt

-James






More information about the umbrello-devel mailing list