emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: What IDE features are in CEDET?


From: Eric M. Ludlam
Subject: Re[2]: What IDE features are in CEDET?
Date: Sun, 27 Apr 2008 22:28:06 -0400

>>> Richard M Stallman <address@hidden> seems to think that:
>    >    I want to see Emacs provide round-trip code to UML and back again
>    >    interface that works for any language, where refactoring can occur w/
>    >    a UML diagram editor that re-writes your code.
>    >
>    >Do you mean to implement this INSIDE Emacs, or just have Emacs use
>    >external programs to do it?
>
>    Inside Emacs, with external programs optional.
>
>Is a part of this already implemented in Cedet?
>If so, which part?

The short answer:

CEDET has a parser (code to ..) and a UML editor (uml) and a template
manager (.. and back again) and all three can work with any language.

Longer answer:

CEDET has a package called COGRE (connected graph editor) that will
draw and allow editing of UML diagrams in an Emacs buffer.  Emacs is
not an ideal environment for drawing diagrams, but it is passable and
quick.

CEDET also has a tool I called SRecode that is a template manager.  I
started with Tempo, but it did not have the feature set I needed to
manage complex templates.  SRecode is used to create code, and can
already generate a whole compilable program in C++ from a Lisp data
structure.  I have not combined CORGE (the UML diagram editor) to
SRecode (template manager) to create code from UML yet.

CEDET also has the Semantic tools which has been more broadly
discussed.  It will parse code into a structure that can be
represented by UML.  I did write a program that will generate a very
simple UML diagram from the Semantic data, but it is more proof of
concept than anything else.  I have a different program that will
create a dot program for drawing broader UML diagrams.  DOT requires
an external tool that creates diagrams.  If you have DOT installed, it
would be possible to generate an image to display in Emacs, though I
have not written that.


Thus, you can parse a program, and you can edit UML, and you can
generate code with CEDET, but the three have not been combined to
provide the full tool.

For more detail, there is my previous email.

Does this make more sense now?

Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]