Boot Levels

Carl Sassenrath, CTO
REBOL Technologies
28-Sep-2010 18:05 GMT

Article #0337
Main page || Index || Prior Article [0336] || Next Article [0338] || 28 Comments || Send feedback

Updated 29-Sep-2010: no longer using integers

PROPOSED: Subject to Change

This feature is intended for advanced programmers developing new resident mezzanines or modules.

A new --boot command line option controls the boot level:

 baseinitialize only the lower levels. This option is for special purpose testing only because it provides no way to load external code. (No schemes, such as file access, nor load or do functions.) If your host-kit build is crashing on startup, you can use this option to confirm that the exe image is loadable and runable.
 sysinitialize up to and including the basic runtime lib and sys contexts. This option allows you to run a very "lean" system (minimal memory and boot time) where your code will be supplying all other run-time functions and modules. Provides a basic load function but with very limited special options (no import, needs, versions, or related features.)
 modsinitialize up to and including lower-level resident modules. In addition to boot-sys, this level adds high-priority resident modules, but not mezz plus (higher level mezzanines).

For example,

r3 --boot base mycode.r

When no option is specified, all resident features are enabled, including mezz plus and all other resident modules.


Updated 15-Jul-2024 - Edit - Copyright REBOL Technologies -