Handbook
Glossary
parse-mode-tag ( tag -- rule-sets )
Vocabulary
xmode
.
loader
Inputs
tag
an
object
Outputs
rule-sets
an
object
Definition
USING:
accessors
assocs
kernel
sequences
xml.traversal
xmode.loader.syntax
;
IN:
xmode.loader
:
parse-mode-tag
( tag -- rule-sets )
dup
"RULES"
tags-named
[
parse-rules-tag
[
name>>
]
keep
]
H{
}
map>assoc
swap
"PROPS"
tag-named
[
parse-props-tag
over
values
[
merge-rule-set-props
]
with
each
]
when*
;