Handbook
Glossary
(hexadecimal-character-reference-state) ( document n/f string ch/f -- document n'/f string )
Vocabulary
html5
Inputs
document
an
object
n/f
an
object
string
an
object
ch/f
an
object
Outputs
document
an
object
n'/f
an
object
string
an
object
Definition
USING:
combinators
kernel
;
IN:
html5
:
(hexadecimal-character-reference-state)
( document n/f string ch/f -- document n'/f string )
{
{
[
dup
ascii-digit?
]
[
unimplemented*
]
}
{
[
dup
ascii-upper-hex-digit?
]
[
unimplemented*
]
}
{
[
dup
ascii-lower-hex-digit?
]
[
unimplemented*
]
}
{
[
dup
59
=
]
[
drop
numeric-character-reference-end-state
]
}
[
missing-semicolon-after-character-reference
]
}
cond
;