Handbook
Glossary
callstack. ( callstack -- )
Factor handbook
»
Developer tools
»
The prettyprinter
»
Prettyprinting stacks
Prev:
stack. ( seq -- )
Vocabulary
prettyprint
Inputs
callstack
a
callstack
Outputs
None
Word description
Displays the
callstack
in a user friendly fashion with outermost stack frames first and innermost frames at the bottom. The current execution point in every call frame is highlighted with
=>
.
Definition
USING:
grouping
io
io.styles
kernel
prettyprint.private
sequences
;
IN:
prettyprint
:
callstack.
( callstack -- )
callstack>array
3
<groups>
reverse
{
{
table-gap
{
5 5
}
}
}
[
[
callframe.
]
each
]
tabular-output
nl
;