So
you've retrieved a copy of the Mash source
code, compiled it, and played with the tools... What should
you do next?
Learning
about Multicast
Learning
the Languages
Mash
is implemented in Tcl/Tk and C++. User interface code and
application handling are implemented in the Tcl/Tk scripting
language. Routines that need high performance are implemented
in C++. An object extension, named OTcl, is used for object-oriented
programming in Tcl. The TclCL library is the glue between
OTcl classes/procs/variables and C++ classes/methods/variables.
- Tcl/Tk
Tcl is the Tool Command Language and Tk is the Tcl Interface
Toolkit. The primary advantage of Tcl/Tk is that it runs
on many platforms and it is easy to develop user interfaces.
- OTcl
OTcl is used mainly by Mash and ns.
It now has a home
on SourceForge.
- The
OTcl
Manual from the original release is still the
best reference. You don't have to read the whole thing.
Reading the
OTcl Tutorial is good enough.
- TclCL
TclCL is used mainly by Mash and ns.
It now has a home
on SourceForge.
- We have started writing a brief TclCL tutorial.
It is in the
tutorials/tclcl directory. It isn't finished yet, but it should be
helpful.
- You can also read the Interface
to the Interpreter chapter of the ns
Manual, but this may be somewhat painful. When
they say "OTcl Linkage", they really mean
TclCL most of the time.
- C++
You're kidding me. Doesn't everyone know C++?
- The standard reference is Bjarne Stroustrup's The
C++ Programming Language. You don't need the hardcover.
The latest printing of the softcover is the same thing
and it's cheaper.
Learning Mash
Several tools are useful for debugging Open Mash applications:
- mash/smash - mash is a Tcl/Tk wish with
the core mash libraries already loaded. smash is a tclsh with
the mash libraries if you do not need a GUI interface.
You can enter and debug scripts interactively using either of these tools.
The import command can be used to lookup and load Tcl procedures
and Otcl classes.
- MashInspector - this class provides a GUI interface for examining
Otcl class definitions and instances. Just import the class into your mash
shell and execute the command
to create an inspector. More information is available on the Mash Inspector
documentation
page.
Notes
A series of notes have been published that describe how to use and develop
using Open Mash.
The Notes Index
page shows the currently available notes.
These notes are often constructed from email messages and
scribbles used to teach folks around Berkeley how to use the system. Skim
these notes as they might include something useful when you are
getting started. You should also skim/search through the on-line message
archive available
on the Mailing
List webpage.
In addition, we are always looking for new notes to add to the collection.
|