variables vocabulary
Factor handbook ยป Vocabulary index


Summary

Words

Tuple classes
ClassSuperclassSlots
global-box tuplevalue


Predicate classes
ClassSuperclass
global-variable variable
typed-variable variable
variable word


Intersection classes
typed-global-variable


Parsing words
WordSyntax
GLOBAL:
TYPED-GLOBAL:
TYPED-VAR:
VAR:
set:


Generic words
WordStack effect
variable-setter( word -- word' )


Ordinary words
WordStack 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 -- )


Class predicate words
WordStack effect
global-box?( object -- ? )
global-variable?( object -- ? )
typed-global-variable?( object -- ? )
typed-variable?( object -- ? )
variable?( object -- ? )


Files