OR
Size: a a a
OR
OR
OR
AC
AL
OR
AL
AL
AC
AC
AC
AC
ВБ
(defn string->token-list [input-string]
(let [lexer (new BSL.Lexer (new StringReader input-string))]
(loop
[readed (. lexer yylex)
acc '()]
(if (= 'EOF (:symbol readed))
acc
(recur (. lexer yylex) (cons readed acc))))))
KR
ВБ
KR
OR
OR
(defn string->token-list [input-string]
(let [lexer (BSL.Lexer. (StringReader. input-string))]
(take-while #(not= 'EOF %) (repeatedly #(.yylex lexer)))))
D
OR