Remove debug pps
This commit is contained in:
parent
89f813c2f3
commit
0a34e22a98
|
@ -542,14 +542,9 @@
|
||||||
(let [first (advance parser)]
|
(let [first (advance parser)]
|
||||||
(loop [parser first
|
(loop [parser first
|
||||||
exprs []]
|
exprs []]
|
||||||
(println "parsing do")
|
|
||||||
(pp/pprint parser)
|
|
||||||
(pp/pprint exprs)
|
|
||||||
(let [expr (parse-expr parser)
|
(let [expr (parse-expr parser)
|
||||||
expr+newline (accept ::token/newline expr)
|
expr+newline (accept ::token/newline expr)
|
||||||
next (token-type expr+newline)]
|
next (token-type expr+newline)]
|
||||||
(println "current ast " (::ast expr))
|
|
||||||
(println "next token " next)
|
|
||||||
(if (= ::token/pipeline next)
|
(if (= ::token/pipeline next)
|
||||||
(recur (advance expr+newline) (conj exprs (::ast expr)))
|
(recur (advance expr+newline) (conj exprs (::ast expr)))
|
||||||
(assoc expr ::ast {::ast/type ::ast/pipeline
|
(assoc expr ::ast {::ast/type ::ast/pipeline
|
||||||
|
|
Loading…
Reference in New Issue
Block a user