pebblisp/src/examples/repl.pbl

11 lines
154 B
Plaintext
Executable File

#!/usr/bin/pl
(def repl (fn () (
(prn "pebblisp::> ")
(def input (inp))
(if (= input "q") () (
(prnl (eval input))
(repl)))
)))
(repl)