tags word is generic and all the other words that deal with
chloe tags have chloe in the name.
{ "iota" { "sequences:<iota>" ".98" } }
{ "git-checkout-existing-branch" { "git-checkout-existing" "0.99" } }
{ "git-checkout-existing-branch*" { "git-checkout-existing*" "0.99" } }
+ { "tags" { "chloe-tags" "0.99" } }
}
: compute-assoc-fixups ( continuation name assoc -- seq )
ERROR: unknown-chloe-tag tag ;
: compile-chloe-tag ( tag -- )
- dup main>> dup tags get at
+ dup main>> dup chloe-tags get at
[ call( tag -- ) ]
[ unknown-chloe-tag ]
?if ;
xml.data xml.syntax ;
IN: html.templates.chloe.syntax
-SYMBOL: tags
+SYMBOL: chloe-tags
-tags [ H{ } clone ] initialize
+chloe-tags [ H{ } clone ] initialize
-: define-chloe-tag ( name quot -- ) swap tags get set-at ;
+: define-chloe-tag ( name quot -- ) swap chloe-tags get set-at ;
SYNTAX: CHLOE:
scan-token parse-definition define-chloe-tag ;