Handbook
Glossary
(rawtext-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
:
(rawtext-state)
( document n/f string ch/f -- document n'/f string )
{
{
[
dup
60
=
]
[
drop
rawtext-less-than-sign-state
]
}
{
[
dup
0
=
]
[
drop
unexpected-null-character
]
}
{
[
dup
f
=
]
[
drop
pick
emit-eof
]
}
[
reach
emit-char
rawtext-state
]
}
cond
;