There are tools to develop the "call graph" of C/C++ code. Mel Gorman used one to diagram the Linux kernel. See

http://www.skynet.ie/~mel/projects/codeviz/

for the details. I have no idea whether this would work for any of the languages Axiom uses, since I don't know the syntax or semantics of any of them (except Lisp, of course).

C Y wrote:

This might be relevant to the ongoing discussion about generating dot
graphs of the Axiom source code.  I suspect it would be more work to
make the jump to the Spad code but Lisp is probably up to it.

Gary King recently released a set of common lisp libraries (I believe
under the MIT Style License) which help him work with graphs (graphviz
still generates the output.)

Saw it mentioned here: http://lemonodor.com/archives/001288.html

Tutorial/eaxmple is here: http://www.metabang.com/unclog/publisha/atinybit.html

That "make-filtered-graph" bit looks quite interesting.

With Bill having solved the hyperlinked graphviz output problem,
perhaps these tools could server as the "other half" of the problem -
generating trees from the Axiom source code.

I'll try and play around with this when (if, on my cynical days) I get
time - maybe something like "per-category" or "per-domain" graphs could
be achieved.

Cheers,
CY

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

_______________________________________________
Axiom-developer mailing list
Axiom-developer@nongnu.org
http://lists.nongnu.org/mailman/listinfo/axiom-developer


--
M. Edward (Ed) Borasky

http://linuxcapacityplanning.com



_______________________________________________
Axiom-developer mailing list
Axiom-developer@nongnu.org
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to