]> gitweb.factorcode.org Git - factor.git/blob - basis/help/syntax/syntax.factor
Merge branch 'master' of git://factorcode.org/git/factor
[factor.git] / basis / help / syntax / syntax.factor
1 ! Copyright (C) 2005, 2009 Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: accessors arrays kernel parser sequences words help
4 help.topics namespaces vocabs definitions compiler.units
5 vocabs.parser ;
6 IN: help.syntax
7
8 SYNTAX: HELP:
9     scan-word bootstrap-word
10     [ >link save-location ] [ [ \ ; parse-until >array ] dip set-word-help ] bi ;
11
12 SYNTAX: ARTICLE:
13     location [
14         \ ; parse-until >array [ first2 ] [ 2 tail ] bi <article>
15         over add-article >link
16     ] dip remember-definition ;
17
18 SYNTAX: ABOUT:
19     current-vocab scan-object >>help changed-definition ;