5 cents for today! Debug alternative
Posted: Mon Apr 21, 2008 8:53 pm
Playing with all the changes in 9.3.x release i ran into read-expr.
very nice for pritty printing code or as a alternative debugger ;-)
here a simple debug/trace 1-liner =>
I prefer the last one..
very nice for pritty printing code or as a alternative debugger ;-)
here a simple debug/trace 1-liner =>
or(read-expr (read-file "gurucode.lsp") (fn(x) (println "==EVAL" x) (eval-string x)) )
enjoy..(read-expr (read-file "maybe.lsp") (fn(x) (println "Eval> " (eval-string x))) )
I prefer the last one..