Skip to content

Commit

Permalink
CHANGE: system object reordered + included user
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Jul 11, 2022
1 parent 2f25037 commit b4787de
Showing 1 changed file with 45 additions and 39 deletions.
84 changes: 45 additions & 39 deletions src/boot/sysobj.reb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,49 @@ product: 'core
platform: none
version: 0.0.0
build: object [os: arch: vendor: sys: abi: compiler: target: date: git: none]
license: none

user: construct [
name: none
data: #()
]

options: object [ ; Options supplied to REBOL during startup
boot: ; The path to the executable
path: ; Where script was started or the startup dir
home: ; Path of home directory
none

flags: ; Boot flag bits (see system/catalog/boot-flags)
script: ; Filename of script to evaluate
args: ; Command line arguments passed to script
do-arg: ; Set to a block if --do was specified
import: ; imported modules
debug: ; debug flags
secure: ; security policy
version: ; script version needed
boot-level: ; how far to boot up
none

quiet: false ; do not show startup info (compatibility)

binary-base: 16 ; Default base for FORMed binary values (64, 16, 2)
decimal-digits: 15 ; Max number of decimal digits to print.
probe-limit: 16000 ; Max probed output size
module-paths: [%./]
default-suffix: %.reb ; Used by IMPORT if no suffix is provided
file-types: []
result-types: none

; verbosity of logs per service (codecs, schemes)
; 0 = nothing; 1 = info; 2 = more; 3 = debug
log: #[map! [
rebol: 1
http: 1
tls: 1
zip: 1
tar: 1
]]
]

catalog: object [
; Static (non-changing) values, blocks, objects
Expand Down Expand Up @@ -161,44 +203,6 @@ locale: object [
]
]

options: object [ ; Options supplied to REBOL during startup
boot: ; The path to the executable
path: ; Where script was started or the startup dir
home: ; Path of home directory
none

flags: ; Boot flag bits (see system/catalog/boot-flags)
script: ; Filename of script to evaluate
args: ; Command line arguments passed to script
do-arg: ; Set to a block if --do was specified
import: ; imported modules
debug: ; debug flags
secure: ; security policy
version: ; script version needed
boot-level: ; how far to boot up
none

quiet: false ; do not show startup info (compatibility)

binary-base: 16 ; Default base for FORMed binary values (64, 16, 2)
decimal-digits: 15 ; Max number of decimal digits to print.
probe-limit: 16000 ; Max probed output size
module-paths: [%./]
default-suffix: %.reb ; Used by IMPORT if no suffix is provided
file-types: []
result-types: none

; verbosity of logs per service (codecs, schemes)
; 0 = nothing; 1 = info; 2 = more; 3 = debug
log: #[map! [
rebol: 1
http: 1
tls: 1
zip: 1
tar: 1
]]
]

script: construct [
title: ; Title string of script
header: ; Script header as evaluated
Expand Down Expand Up @@ -503,6 +507,8 @@ view: object [
]
]

license: none

;;stats: none

;user-license: context [
Expand Down

0 comments on commit b4787de

Please sign in to comment.