Handbook
Glossary
(bogus-comment-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
:
(bogus-comment-state)
( document n/f string ch/f -- document n'/f string )
{
{
[
dup
62
=
]
[
drop
pick
emit-comment-token
data-state
]
}
{
[
dup
f
=
]
[
drop
pick
[
emit-comment-token
]
[
emit-eof
]
bi
]
}
{
[
dup
0
=
]
[
drop
unexpected-null-character
65533
reach
push-comment-token
]
}
[
reach
push-comment-token
bogus-comment-state
]
}
cond
;