Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
callstack ( -- callstack )
Factor documentation
>
Factor handbook
>
The language
>
Continuations
>
Continuation implementation details
Prev:
set-retainstack ( array -- )
Next:
set-callstack ( callstack -- * )
Vocabulary
kernel
Inputs and outputs
callstack
a
callstack
Word description
Outputs a copy of the call stack contents, with the top of the stack at the end of the vector. The stack frame of the caller word is
not
included.
Definition
IN:
kernel
BUILTIN:
callstack
;
IN:
kernel
PRIMITIVE:
callstack
( -- callstack )
flushable
Methods
USING:
kernel
prettyprint.custom
;
M:
callstack
>pprint-sequence
callstack>array
;
USING:
kernel
;
M:
callstack
clone
(clone)
;
inline
USING:
kernel
prettyprint.custom
;
M:
callstack
pprint-delims
drop
\
CS{
\
}
;