The basic idea of clanger is to use the Nemesis run time type system and namespace to access Nemesis closures. See chapter 2 for more details of the Nemesis linkage model. You can use clanger to invoke operations on closures. The time constructors build the integer value representing that time in nanoseconds, which is the standard unit of time in Nemesis. Strings may be constructed, using the usual C notation for control characters and double quotes.
Clanger makes the pervasives available in a context called pvs .
A special function spawn enables new domains to be started synchronously. The third argument here is expected to be a context containing various domain initialisation parameters. Lines beginning with a hash character are comments and blank lines are acceptable. Commands may not span more than one line. We find it easiest to work with Nemesis using serial lines to see console error messages.