1 USING: help.markup help.syntax ;
5 { $syntax "QUALIFIED: vocab" }
6 { $description "Similar to " { $link POSTPONE: USE: } " but loads vocabulary with prefix." }
8 "USING: prettyprint qualified ;"
14 { $syntax "QUALIFIED-WITH: vocab word-prefix" }
15 { $description "Works like " { $link POSTPONE: QUALIFIED: } " but uses " { $snippet "word-prefix" } " as prefix." }
17 "USING: prettyprint qualified ;"
18 "QUALIFIED-WITH: math m"
24 { $syntax "FROM: vocab => words ... ;" }
25 { $description "Imports " { $snippet "words" } " from " { $snippet "vocab" } "." }
27 "FROM: math.parser => bin> hex> ; ! imports only bin> and hex>" } } ;
30 { $syntax "EXCLUDE: vocab => words ... ;" }
31 { $description "Imports everything from " { $snippet "vocab" } " excluding " { $snippet "words" } "." }
33 "EXCLUDE: math.parser => bin> hex> ; ! imports everything but bin> and hex>" } } ;
36 { $syntax "RENAME: word vocab => newname " }
37 { $description "Imports " { $snippet "word" } " from " { $snippet "vocab" } ", but renamed to " { $snippet "newname" } "." }
38 { $examples { $example
39 "USING: prettyprint qualified ;"
45 ARTICLE: "qualified" "Qualified word lookup"
46 "The " { $vocab-link "qualified" } " vocabulary provides a handful of parsing words which give more control over word lookup than is offered by " { $link POSTPONE: USE: } " and " { $link POSTPONE: USING: } "."
48 "These words are useful when there is no way to avoid using two vocabularies with identical word names in the same source file."
49 { $subsection POSTPONE: QUALIFIED: }
50 { $subsection POSTPONE: QUALIFIED-WITH: }
51 { $subsection POSTPONE: FROM: }
52 { $subsection POSTPONE: EXCLUDE: }
53 { $subsection POSTPONE: RENAME: } ;