Handbook
Glossary
H{
Factor handbook
»
The language
»
Syntax
»
Literals
»
Hashtable syntax
Next:
IH{
Vocabulary
syntax
Syntax
H{ { key value }... }
Inputs
None
Outputs
None
Word description
Marks the beginning of a literal hashtable, given as a list of two-element arrays holding key/value pairs. Literal hashtables are terminated by
}
.
Examples
H{ { "tuna" "fish" } { "jalapeno" "vegetable" } }
See also
{
,
V{
,
HS{
,
C{
,
T{
,
}
Definition
USING:
hashtables
parser
;
IN:
syntax
SYNTAX:
H{
\
}
[
parse-hashtable
]
parse-literal
;