Menu

is this application viable?

2004-02-11
2004-02-12
  • Martin Baker

    Martin Baker - 2004-02-11

    Since I have Java, C# and C++ versions of my open source program ( http://www.euclideanspace.com/ ) I would like to have some automation to help with the manual conversion between these types of source code. I would also like some automation for generating UML diagrams.

    I wonder if Treebeard could form the basis of such a system? With importers/exporters added to get and generate the code required, I thought of linking up a number of programs as shown on the following diagram:
    http://www.euclideanspace.com/software/language/convert/index.htm

    I had this idea that this could be done by storing programs in a common format, call it say: "XML structured Java", once its in this form we could then use XSLT and similar tools to convert between the different source codes. I had a search on Sourceforge to see it I could find any existing code and it looks like someone else has had the same idea: (http://sourceforge.net/projects/xmlcode) but nothing seems to have been done on this project for the past 4 years. Do you think a very quick and dirty version of this could be implemented quickly?

    Do you think this is practical?

    Are there any better ways to do this? Should I use Eclipse instead? Are there any better GPL open source programs?

    How much 'glue' programming would be required to make all this work together, not perfectly, but enough to make it useful for source code conversion even though some parts might still need to be changed manually?

    What do you think?

    Martin

     
    • Rob

      Rob - 2004-02-11

      That is a very cool idea kind of like DocBook but for code.  I think treebeard might be helpful to write and test style sheets, but to be frank, if I have been playing with eclipse and if you are going to be doing an extension to a program - I would choose eclipse over treebeard.

      I haven't seen a good xslt plugin for eclipse yet (though they may be out there) and I actually think - when time allows - I am going make a port of treebeard for eclipse.

      Treebeard is cool for testing sheets against several xslt transformers, and the highlighting is groovy, but to "add on" I think eclipse is hands down the winner.

       
    • Martin Baker

      Martin Baker - 2004-02-12

      Thanks Rob,

      As you suggest Ill do some testing with treebeard while keeping a lookout for xslt plugins for eclipse.

      Martin

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.