Handbook
Glossary
ipv4-component ( str -- n )
Vocabulary
ip-parser
.
private
Inputs
str
an
object
Outputs
n
an
object
Definition
USING:
ip-parser
kernel
math.parser
;
IN:
ip-parser.private
:
ipv4-component
( str -- n )
[
dup
octal?
[
oct>
]
[
string>number
]
if
]
[
bad-ipv4-component
]
?unless
;