Next: 3.4 Language differences
Up: 3. The onyx program
Previous: 3.2 Environment variables
Contents
Index
When onyx is run interactively, there are several stages of
initialization, some of which can be controlled directly by the user.
- The interpreter is booted.
- Standard I/O is set up.
- The initial thread is created and used by all subsequent steps.
- The initial thread's stdin is modified to support interactive command line
editing.
- Language changes specific to interactive invocation are made (see
Section 3.4).
- Initialization expressions and scripts (specified by the -i and -s flags) are evaluated in the order they are specified on the command line.
- If the ONYXRC environment variable is set, then the contents of the
file it specifies are evaluated.
- stdin is evaluated.
Jason Evans
2005-03-16