1 USING: math definitions help.topics help tools.test
2 prettyprint parser io.streams.string kernel source-files
3 assocs namespaces words io ;
6 [ ] [ \ + >link see ] unit-test
12 "IN: temporary USING: help.syntax ; : hello ; HELP: hello \"test\" ; ARTICLE: \"hello\" \"world\" ; ARTICLE: \"hello2\" \"world\" ;" <string-reader> "foo"
15 "foo" source-file source-file-definitions assoc-size
18 [ t ] [ "hello" articles get key? ] unit-test
19 [ t ] [ "hello2" articles get key? ] unit-test
21 "hello" "temporary" lookup "help" word-prop >boolean
25 "IN: temporary USING: help.syntax ; : hello ; ARTICLE: \"hello\" \"world\" ;" <string-reader> "foo"
28 "foo" source-file source-file-definitions assoc-size
31 [ t ] [ "hello" articles get key? ] unit-test
32 [ f ] [ "hello2" articles get key? ] unit-test
34 "hello" "temporary" lookup "help" word-prop
37 [ [ ] ] [ "IN: temporary USING: help.syntax ; : xxx ; HELP: xxx ;" parse ] unit-test
39 [ ] [ "xxx" "temporary" lookup help ] unit-test
41 [ ] [ "xxx" "temporary" lookup >link synopsis print ] unit-test