! Copyright (C) 2009 Slava Pestov
-! See http://factorcode.org/license.txt for BSD license.
+! See https://factorcode.org/license.txt for BSD license.
USING: accessors combinators io kernel lists math math.parser
sequences splitting ;
IN: rpn
M: push-insn eval-insn value>> swons ;
: rpn-tokenize ( string -- string' )
- words harvest sequence>list ;
+ split-words harvest sequence>list ;
: rpn-parse ( string -- tokens )
rpn-tokenize [