Handbook
Glossary
<WATCH
Factor handbook
»
Developer tools
»
Word annotations
Prev:
watch-vars ( word vars -- )
Next:
reset-word-timing ( -- )
Vocabulary
tools
.
annotations
Syntax
<WATCH ... WATCH>
Word description
Allows wrapping a block of code and record stack values entering and exiting the block of code.
Definition
USING:
kernel
parser
quotations
sequences
tools.annotations.private
;
IN:
tools.annotations
SYNTAX:
<WATCH
\
WATCH>
parse-until
>quotation
dup
(watch)
append!
;