Handbook
Glossary
string>irc-message ( string -- irc-message )
Vocabulary
irc
.
messages
.
parser
Inputs
string
an
object
Outputs
irc-message
an
object
Definition
USING:
accessors
irc.messages.base
irc.messages.parser.private
kernel
;
IN:
irc.messages.parser
:
string>irc-message
( string -- irc-message )
dup
split-message
[
[
irc>type
new
]
[
>>command
]
bi
]
[
>>parameters
]
[
>>trailing
]
tri*
[
prefix<<
]
[
fill-irc-message-slots
]
[
swap
>>line
]
tri
dup
sender
>>sender
;