Each word has a hashtable of properties.
word-prop ( word name -- value )
set-word-prop ( word value name -- )
The stack effect of the above two words is designed so that it is most convenient when
name is a literal pushed on the stack right before executing this word.
The following are some of the properties used by the library:
Property Documentation "declared-effect" Stack effect declarations "inline" , "foldable" , "flushable" , "recursive" Compiler declarations "help" , "help-loc" , "help-parent" Where word help is stored - Writing documentation "intrinsic" Quotation run by the compiler during cfg building to emit the word inline. "loc" Location information - where "methods" , "combination" Set on generic words - Generic words and methods "outputs" , "input-classes" , "default-output-classes" A bunch of metadata used during the value propagation step of the compilation to produce type-optimized code. "parsing" Parsing words "predicating" Set on class predicates, stores the corresponding class word. "reading" , "writing" Set on slot accessor words - Low-level slot operations "specializer" Compiler specialization hints "dependencies" , Used by the optimizing compiler when forgetting words for fast dependency lookup. See Compilation units . "generic-call-sites" Set on some generic words.
Properties which are defined for classes only:
This documentation was generated offline from a
load-all
image. If you want, you can also
browse the documentation from within the UI developer tools . See
the Factor website
for more information.
Factor 0.101 x86.64 (2282, heads/master-877e79c8e5, Oct 29 2024 15:58:10)