@head @module sys @title sys: Alore system information

This module provides basic information related to the Alore virtual machine and its environment.

Constants

@var Args as Array @desc Command line arguments given to current program as a string array. These do not include the path to the current program. Consider this example: @example $ alore program.alo arg1 arg2 @end Now the value of sys::Args in program.alo would be ["arg1", "arg2"]. @end @var ProgramPath as Str @desc Path to current program. It can be a relative or an absolute path, and it can refer to an Alore source file or a compiled binary executable file. @end @var InterpreterPath as Str @desc Path to the Alore interpreter. It can be a relative or an absolute path. Multiple versions of the Alore interpreter may be installed at the same time, and the path always refers to the one that is running the current program. This constant is nil if IsStandalone is True. @end @var Platform as Str @desc String identifying the current platform, in lower case. Currently supported values:

Additional values will be defined as the Alore runtime is ported to new operating systems. @end @var IsStandalone as Boolean @desc Boolean indicating whether the current program is a standalore executable (compiled binary file instead of an Alore source file). @end