1 ! Copyright (C) 2005, 2009 Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: accessors arrays compiler.units definitions effects
4 effects.parser help help.topics kernel namespaces parser
5 sequences vocabs vocabs.parser words ;
10 : check-effect ( word seq -- word seq' )
12 unclip pick stack-effect effect= [ bad-effect ] unless
18 scan-word bootstrap-word
19 [ >link save-location ]
20 [ \ ; parse-until check-effect >array swap set-word-help ]
25 \ ; parse-until >array [ first2 ] [ 2 tail ] bi <article>
26 over add-article >link
27 ] dip remember-definition ;
30 current-vocab scan-object >>help changed-definition ;