Handbook
Glossary
XML-NS:
Syntax extensions for XML
Prev:
XML literals
Vocabulary
xml
.
syntax
Syntax
XML-NS: name https://url
Word description
Defines a new word of the given name which constructs XML names in the namespace of the given URL. The names constructed are memoized.
Definition
USING:
kernel
lexer
memoize
parser
xml.data
;
IN:
xml.syntax
SYNTAX:
XML-NS:
scan-new-word
scan-token
[
[
f
swap
]
]
dip
[
<name>
]
curry
compose
( string -- name )
define-memoized
;