Handbook
Glossary
(parse-c-type) ( string -- type )
Vocabulary
alien
.
parser
Inputs
string
an
object
Outputs
type
an
object
Definition
USING:
alien.c-types
combinators
kernel
parser
sequences
splitting
vocabs.parser
;
IN:
alien.parser
:
(parse-c-type)
( string -- type )
{
{
[
"*"
?tail
]
[
(parse-c-type)
<pointer>
]
}
{
[
93
over
member?
]
[
parse-array-type
]
}
{
[
dup
search
]
[
parse-word
]
}
[
parse-word
]
}
cond
;