Class | Superclass | Slots |
global-box | tuple | value |
Class | Superclass |
global-variable | variable |
typed-variable | variable |
variable | word |
typed-global-variable |
Word | Syntax |
GLOBAL: | |
TYPED-GLOBAL: | |
TYPED-VAR: | |
VAR: | |
set: |
Word | Stack effect |
variable-setter | ( word -- word' ) |
Word | Stack effect |
(define-variable) | ( word getter setter -- ) |
[global-getter] | ( box -- quot ) |
[global-setter] | ( box -- quot ) |
[typed-getter] | ( quot type -- quot ) |
[typed-setter] | ( quot type -- quot ) |
[variable-getter] | ( variable -- quot ) |
[variable-setter] | ( variable -- quot ) |
define-global | ( word -- ) |
define-typed-global | ( word type -- ) |
define-typed-variable | ( word type -- ) |
define-variable | ( word -- ) |
Word | Stack effect |
global-box? | ( object -- ? ) |
global-variable? | ( object -- ? ) |
typed-global-variable? | ( object -- ? ) |
typed-variable? | ( object -- ? ) |
variable? | ( object -- ? ) |