Handbook
Glossary
parse-mtga-card-line ( string -- array )
Vocabulary
scryfall
Inputs
string
an
object
Outputs
array
an
object
Definition
USING:
arrays
kernel
math.parser
sequences
splitting
unicode
;
IN:
scryfall
:
parse-mtga-card-line
( string -- array )
[
blank?
]
trim
" "
split1
[
string>number
]
[
remove-set-and-num
card-by-name
]
bi*
<array>
;