REBOL 3.0

Comments on: The no-boot option

Carl Sassenrath, CTO
REBOL Technologies
25-Sep-2009 19:27 GMT

Article #0253
Main page || Index || Prior Article [0252] || Next Article [0254] || 1 Comments || Send feedback

R3 A83 includes a no-boot option for gurus.

rebol --no-boot

It was necessary to add this command line option to allows experts to test changes to the begin function which establishes and adjusts the primary environment, boot options, and security.

This option is tested after host level mezzanine inclusions (Reb_Init_Code) in host-main.c at:

if (!(Main_Args.options & RO_NO_BOOT))
    n = REBOL_Start(0); // returns TRUE on halt

This prevents REBOL_Start which simply does a bind and try on what's called the root-script... which these days is simply:

do [
    system/intrinsic/begin
]

But, note... very soon it will be moved from /intrinsic into the system context, making it just:

begin

Anyway, I'm documenting this for those of you who feel confident enough to edit system/intrinsics/begin, the source of which can be found in the chat #26 mezz archive. But, BrianH is the guru there, so be sure to check with him on any changes.

1 Comments

Comments:

Brian Hawley
26-Sep-2009 0:01
Thanks! This will make my life that much easier :)

Post a Comment:

You can post a comment here. Keep it on-topic.

Name:

Blog id:

R3-0253


Comment:


 Note: HTML tags allowed for: b i u li ol ul font span div a p br pre tt blockquote
 
 

This is a technical blog related to the above topic. We reserve the right to remove comments that are off-topic, irrelevant links, advertisements, spams, personal attacks, politics, religion, etc.

REBOL 3.0
Updated 7-Oct-2024 - Edit - Copyright REBOL Technologies - REBOL.net