In a static checking regime, sometimes it is necessary to step outside the boundaries and run some code which cannot be statically checked; perhaps this code is constructed at run-time. There are two ways to get around the static stack checker.
If the stack effect of a word or quotation is known, but the word or quotation itself is not,
can be used. See
If the stack effect is not known, the code being called cannot manipulate the datastack directly. Instead, it must reflect the datastack into an array:
with-datastack ( stack quot -- new-stack )
The surrounding code has a static stack effect since
has one. However, the array passed in as input may be transformed arbitrarily by calling this combinator.
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.99 x86.64 (2203, heads/master-424edf64aa, Mar 8 2023 13:48:50)