Hallo Saptarshi,

As for leJOS' native C layer, that's all greek to me by myself - I just did some isolated adjustments there recently to get it running on both Windows and Linux.
Hence I will not be able to tell you the process flow in question off-hand.

However, I'm entirely of your way of thinking that some (ideally graphical) documentation here would be tremendously helpful.

A means to achieve this could be to harvest the C code into a model described in a DSL with graphical concrete syntax (UML might not be the best suited one here as its domain is commonly considered to be OO - well, that's subject to discussion, though).

Yet, my expertise about according tools in the market (in particular ones that are able to visualize dynamic behavior of existing C code) is pretty limited - maybe Rational Rose (most presumably rather expensive)? How about Microsofts Visual C line? Is there any respective Open Source stuff out there?
Does anybody know?

I guess usage of such a tool might prove reasonable also when addressing the design of a leJOS version for LEGO's upcoming NXT.

Regards,
  Matthias

Saptarshi Purkayastha wrote:
Great work Matthias!! Thanks for the UML diagrams.. I think they can be useful for any1 wanting to understand the leJOS API. I think this is also a very useful steps for students who work with leJOS and Java on the whole.

But I have already tinkered and played with all these classes and wanted to try playing with the VM.. (the C parts) for which needed the diagrams... Please if u have some free time, could you try and explain me how the .c files interact with each other and how the actual Java class files start running into execution.... I know it would be too much to ask from as you may b busy with a lot of stuff.. But it would be nice of you, if u could make rough diagrams/text just to explain the working...

Thanking you !!

--
Regards,
Saptarshi PURKAYASTHA

You Live by CHOICE, Not by CHANCE


On 2/21/06, *Matthias Paul Scholz * <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hallo Saptarshi,

    Saptarshi Purkayastha wrote:
    [...]
     >
     > Also, can some1 please help me out with some diagrams or flowchart of
     > the leJOS VM's working !!
     >

    As for the low level C part of LeJOS, there has never been a
    representation in a DSL with a graphical concrete syntax I know of (but
    no doubt it would be helpful to have one).

    For the java parts, I have harvested it to an UML 1.4 model this very
    morning (using the MDA platform ArcStyler) and committed the model into
    the docs/uml folder of the leJOS cvs.
    The model, though, might be useful for MagicDraw only, as xmi
    interoperability between contemporary UML tools still is a pipe dream;
    hence, for convenience I made also images of the class diagrams and
    committed them to the same location, so you might want to have a look
    there.

    Yet, there are no visualizations of dynamic aspects (activity diagrams,
    flowcharts or the likes) presently.
    As a matter of fact, I consider this no great drawback (at least as
    long
    as the java layers are concerned), for the interaction patterns between
    the classes are quite simple.

    Regards,
       Matthias




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion

Reply via email to