The virtual machine is required to execute Alice applications. It takes the URL of the application's root component and evaluates it.
Executes the application given by <url>, denoting a compiled component. The component is located, loaded and evaluated using the root component manager.
The application can access the remaining command line arguments via the CommandLine library structure. To terminate an application, the OS.Process.terminate function must be invoked. The virtual machine will not be terminated automatically, even if no live threads are left.
The virtual machine is parameterized by the following environment variables:
specifies the directory where Alice is installed. If not set, under Unix or started from a Windows Cygwin shell, alicerun guesses its name by looking in the following directories, in that order:
If not set, under Windows started from a CMD console, alicerun guesses the installation directory to be %PROGRAMFILES%\Alice.
specify resolving methods to use when trying to access components. Components are resolved with the following methods, in order:
The syntax for specifying custom resolving methods is defined by the library's Resolver.Handler structure.
if set (its value does not matter), causes trace messages to be printed on standard error about linking Alice components required to boot the machine.
if set to 0, disables the run-time compiler. If set to 1, the native code run-time compiler for x86 processors is used. If set to 2, the byte code run-time compiler is used. By default, the mode is 1 for x86 processors and 2 for other processors like PowerPC and AMD64.