This is the ns->ir tcl that rob wrote way back in february.
it handles nodes, links, events(link_up, link_down) it will _not_ work for arbitrary ns input files. The problem is that an input file might say set something [$ns some args] $something do things but my code doesn't return anything exciting in the first line. I return Node, Link, Event, but if they are expecting an Agent/whatever/whatever back, they are out of luck. ...and so there isn't anything for the second line to make do things ...and it'll break.
Showing
ir/ns2ir/event.tcl
0 → 100644
ir/ns2ir/link.tcl
0 → 100644
ir/ns2ir/node.tcl
0 → 100644
ir/ns2ir/parse.tcl
0 → 100755
ir/ns2ir/sim.tcl
0 → 100644
ir/ns2ir/stubs.tcl
0 → 100644
ir/ns2ir/tcl-object.tcl
0 → 100644