Is there an open source TCL script generator for NS2? There is NAM that comes with NS2. Is there anything else. A web based one would be great!
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A general Tcl script generator? That’s quite tricky, as Tcl’s really a general programming language. But if you’re interested in just generating simple programs, it’s not that hard. A Tcl command is a sequence of words separated by spaces and terminated by a newline character. Where you’ve got characters that are Tcl’s metacharacters, you can quote them by putting a backslash in front (except for newline; replace that with
\ninstead). Anything more complicated than a simple call can probably be relegated to a procedure, but I doubt you need anything particularly complex for NS2 scripts.If you want something pre-written, there’s NSG but I don’t know very much about it. It’s Java, not web-based.