Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Moritz plugin

(1/2) > >>

eckard_klotz:
Hello ToApolytoXaos.

I'm the developer behind the two sourceforge projects:

Moritz : http://sourceforge.net/projects/moritz/
MuLanPa : http://sourceforge.net/projects/mulanpa/

Both are open-source freeware-projects and should be used as an extension of Doxygen to create algorithm describing diagrams like nassi shneiderman or uml activity diagrams by analysing the existing source code.

I want to publish with the next snapshot my C::B project files also but until now the current snapshots may not fit your needs without the knowledge about the needed sources for one specific binary.

But the sources-container in the official distributions contain only those sources for one binary. Thus please download one of them and add all sources in there to one project.

Src_xml2abc_2013_03_26.zip ->
http://sourceforge.net/projects/moritz/files/Moritz_2.x/Moritz_1.9.07/


Src_abc2xml_2013_03_26.zip ->
http://sourceforge.net/projects/mulanpa/files/MuLanPa_0/MuLanPa_0_09_02/

Note this are only my C++ based hobby-projects. In my company I work still with C based projects and there you have really long lists of functions, variables, macros, ...
But I'm not allowed to provide them as an example. I hope you understand this.

Best regards,
                     Eckard.

PS.: Since my internet-resources may be limited at the week-end please accept my apologize if I respond to your next questions on Monday.

Edit: changed the title.

MortenMacFly:

--- Quote from: eckard_klotz on June 21, 2013, 08:20:45 am ---Moritz : http://sourceforge.net/projects/moritz/

--- End quote ---
Interesting! I am using this one myself. Great work! ;)

Edit: changed the title.

eckard_klotz:
Hello Morten.

Currently I have still a lot to to finish my work for releasing Moritz 2.0.0. But since I do the development with C::B I asked my self it it would be also interesting to have a C::B Plugin for it.

What do you think?

Best regards,
                  Eckard.

Edit: changed the title.

MortenMacFly:

--- Quote from: eckard_klotz on June 21, 2013, 01:36:21 pm ---I asked my self it it would be also interesting to have a C::B Plugin for it.

--- End quote ---
Depends on what it should do: We have a doxygen plugin as well as a nassi shneiderman plugin. So if you plan a plugin to help setting up the control files and inputs for moritz, look at the first one. If you think about visualisation, take a look at the second one. If you think of more: Integrating the parser, whats-o-ever... please explain. :-)

Edit: changed the title.

eckard_klotz:
Hello Morten.

First of all thank you for your interest. Second if the content of this post is not really fitting to the forum I used please feel free to move it. But I wanted not to open a new plug-in topic without your agreement that the idea behind is worth to be discussed there.

I know that a nassi shneiderman diagram editor already exists as plug in as well as a plug in for Doxygen.  But first side I understand the existing nsd plug-in more as a tool to  describe what you want to implement while Moritz is a tool to describe what you have implemnted. And second side Moritz_2 is completely new developed and is not using Doxygen as parser any more, it has its own parser now (even the outputs of Moritz should still be usable with Doxygen).

Moritz_2 contains two binaries abc2xml and xml2abc. The first one is a parser that transfers a source-text into a xml-file. The second tool transfers the content of a xml-file into a text-file that normaly describes diagrams. Both tools are highly configurable. The binary abx2xml uses external text-files (attachment a2x) to learn how to parse the source. The binary xml2abc uses external text-files (attachment x2a) which contain text-snippets to learn how to build its textual output.

Both tools read this text-files while run time:

* By changing of the a2x-files the parser-functionality can be changed. By providing new ones other programming-languages can be parsed.
Currently python and c/c++ are nearly stable while matlab and pascal are available but still under development.
* By changing the x2a-files the created text-files can be changed. By providing new ones other text-files can be added.
Currently html-text are used to define nassi shneiderman diagrams as html-tables. But with the last development snapshot I provide x2a-files also which describe dot-snippets for enabling the generation of uml activity diagrams.
* Additional to this special text files both binaries use xml-files where the user configures which files he wants to analyse and how.

Moritz_2 is much more powerful than Moritz_1 but unfortunately much more complex to configure also. Thus there is the need of a wizard tool that helps to use only those parts of the configuration the user really needs and that offers all other configurations on special expert tabs. The binaries them self should be still independent tools and the configuration-files created by the plug-in should be usable in a in independent batch-run without C::B too.

But more may be thinkable in the future:

* C::B may provide the possibility to copy a single function into a temporary file. That will be than analysed by Moritz and displayed as html-based nassi shneiderman diagram in a C::B window. And perhaps it may be possible to establish a link-mechanism to  jump between the code and the diagram.
* C::B may use the xml-output of the parser to provide another kind of editing mechanism. Since the xml-tree created by abc2xml describes the algorithm structure and not the document-structure it is possible to use this to show the code in a tree-view. And here the user may copy sub-trees to create code-templates, he may cut out sub trees or add some. Once he is ready xml2abc can be used to create the source-text again.But note this are only possibilities we may think about later (from my perspective much later).

As I wrote before, currently I'm still busy with the final work on the binaries them self. I hope that I'm able to publish Moritz 2.0.0 in autumn 2013. This version will not contain everything I have planed but I think it is good enough to show the audience how the future of Moritz should look like. All main changes in the way of how to configure the tools should be done. This means than it is the right time to think about a graphical wizard.

Best Regards,
                  Eckard.

Edit: changed the title.

Navigation

[0] Message Index

[#] Next page

Go to full version