link vocabularies->words->quotations in synopsis documentation
parent
c318530bbd
commit
2599993093
|
@ -2,7 +2,7 @@ USING: help.markup help.syntax strings words compiler.units ;
|
||||||
IN: vocabs
|
IN: vocabs
|
||||||
|
|
||||||
ARTICLE: "vocabularies" "Vocabularies"
|
ARTICLE: "vocabularies" "Vocabularies"
|
||||||
"A " { $emphasis "vocabulary" } " is a named collection of words. Vocabularies are defined in the " { $vocab-link "vocabs" } " vocabulary."
|
"A " { $emphasis "vocabulary" } " is a named collection of " { $link "words" } ". Vocabularies are defined in the " { $vocab-link "vocabs" } " vocabulary."
|
||||||
$nl
|
$nl
|
||||||
"Vocabularies are stored in a global hashtable:"
|
"Vocabularies are stored in a global hashtable:"
|
||||||
{ $subsections dictionary }
|
{ $subsections dictionary }
|
||||||
|
|
|
@ -26,7 +26,7 @@ $nl
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
ARTICLE: "colon-definition" "Colon definitions"
|
ARTICLE: "colon-definition" "Colon definitions"
|
||||||
"Every word has an associated quotation definition that is called when the word is executed. A " { $emphasis "colon definition" } " is a word where this quotation is supplied directly by the user. This is the simplest and most common type of word definition."
|
"All words have associated definition " { $link "quotations" } ". A word's definition quotation is called when the word is executed. A " { $emphasis "colon definition" } " is a word where this quotation is supplied directly by the user. This is the simplest and most common type of word definition."
|
||||||
$nl
|
$nl
|
||||||
"Defining words at parse time:"
|
"Defining words at parse time:"
|
||||||
{ $subsections
|
{ $subsections
|
||||||
|
@ -160,7 +160,7 @@ $nl
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
ARTICLE: "words" "Words"
|
ARTICLE: "words" "Words"
|
||||||
"Words are the Factor equivalent of functions or procedures; a word is essentially a named quotation."
|
"Words are the Factor equivalent of functions or procedures in other languages. Words are essentially named " { $link "quotations" } "."
|
||||||
$nl
|
$nl
|
||||||
"There are two ways of creating word definitions:"
|
"There are two ways of creating word definitions:"
|
||||||
{ $list
|
{ $list
|
||||||
|
|
Loading…
Reference in New Issue