W Wrapl, The Programming Language

wrapl

wrapl provides a read-eval-print loop (REPL) for Wrapl using Wrapl.Loader.SessionT. It accepts a number of command line options:

Command Line Options

OptionDescription
-L directoryAdds directory to the library search path.
-sf fileCreates a server on file file.
-sp portCreates a server on port port.
-cf fileConnects to a server on file file.
-cp host:portConnects to a server on port host:port.
-vLogs descriptive messages to standard output.

Predefined Constants

A number of commands are predefined in wrapl:

NameDescription
helpLists all available commands.
exitExits the current session.

A sample session with wrapl:

$ wrapl Interactive Wrapl [0.9.3:665] --> IMP Math.Matrix; NIL --> VAR a <- Matrix.New(3, 3, 1, 5, 2, 6, 3, 8, 6, 2, 4); [[1, 5, 2], [6, 3, 8], [6, 2, 4]] --> a:det; 104 --> exit; Exiting. $