2006-09-05 01:29:26 -04:00
IN: tools
USING: help words ;
2006-03-25 01:06:52 -05:00
2006-08-16 21:55:53 -04:00
HELP: usage.
2006-06-12 02:41:19 -04:00
{ $values { "word" "a word" } }
2019-10-18 09:05:08 -04:00
{ $description "Prints an list of all callers of a word. This may include the word itself, if it is recursive." }
{ $examples { $code "\\ reverse usage." } } ;
{ usage usage. } related-words
2006-06-12 02:41:19 -04:00
2006-08-16 21:55:53 -04:00
HELP: apropos
{ $values { "str" "a string" } }
{ $description "Lists all words whose name contains a subsequence equal to " { $snippet "str" } ". Results are ranked using a simple distance algorithm." } ;
2006-06-12 02:41:19 -04:00
2006-08-16 21:55:53 -04:00
HELP: annotate
2006-03-25 01:06:52 -05:00
{ $values { "word" "a word" } { "quot" "a quotation with stack effect " { $snippet "( word def -- def )" } } }
{ $description "Changes a word definition to the result of applying a quotation to the old definition." }
2019-10-18 09:05:08 -04:00
{ $notes "This word is used to implement " { $link watch } "." } ;
2006-03-25 01:06:52 -05:00
2006-08-16 21:55:53 -04:00
HELP: watch
2019-10-18 09:05:08 -04:00
{ $values { "word" word } }
{ $description "Annotates a word definition to print the data stack on entry and exit." } ;
2006-03-25 01:06:52 -05:00
2019-10-18 09:05:08 -04:00
HELP: breakpoint
{ $values { "word" word } }
{ $description "Annotates a word definition to enter the single stepper when executed." } ;
HELP: breakpoint-if
{ $values { "quot" "a quotation with stack effect" { $snippet "( -- ? )" } } { "word" word } }
{ $description "Annotates a word definition to enter the single stepper if the quotation yields true." } ;