1 USING: help.markup help.syntax ;
5 { $syntax "QUALIFIED: vocab" }
6 { $description "Similar to " { $link POSTPONE: USE: } " but loads vocabulary with prefix." }
8 "QUALIFIED: math\n1 2 math:+ ! ==> 3" } } ;
11 { $syntax "QUALIFIED-WITH: vocab word-prefix" }
12 { $description "Works like " { $link POSTPONE: QUALIFIED: } " but uses " { $snippet "word-prefix" } " as prefix." }
14 "QUALIFIED-WITH: math m\n1 2 m:+ ! ==> 3" } } ;
17 { $syntax "FROM: vocab => words ... ;" }
18 { $description "Imports " { $snippet "words" } " from " { $snippet "vocab" } "." }
20 "FROM: math.parser => bin> hex> ; ! imports only bin> and hex>" } } ;
23 { $syntax "EXCLUDE: vocab => words ... ;" }
24 { $description "Imports everything from " { $snippet "vocab" } " excluding " { $snippet "words" } "." }
26 "EXCLUDE: math.parser => bin> hex> ; ! imports everything but bin> and hex>" } } ;
29 { $syntax "RENAME: word vocab => newname " }
30 { $description "Imports " { $snippet "word" } " from " { $snippet "vocab" } ", but renamed to " { $snippet "newname" } "." }