Compiling and configuring
Amalthea has been developed using OCaml 3.0x but is likely to compile with any reasonably recent version of OCaml. The included makefile hopefully makes this process as easy as possible. Note however that it will produce an output file called amalthea.exe under Unix as well as under Windows and this might not be desirable. Once run Amalthea will look for module files first in any subdirectory of the directory the loading source file is located in, then in the directory set in the environment variable IOLIB. This variable should point to the stdlib/ directory in the Amalthea distribution.
Invocation Command line options
Io source files are run with amalthea <filename>. There're a number of command line options available as well.
- -pretty - Pretty prints the source file without running it. This might not be of much use as Io's minimal syntax soon will have you encoding the logical structure of your programs with paranthesis and indents and the pretty printer strips such information.
- -trace - Prints a trace of the program execution as it's running.
- -version - Prints the version of Amalthea without running any program.
- -help - Displays the list of command line options.