Skip to content

Instantly share code, notes, and snippets.

@lispyclouds
Created November 7, 2018 10:09
Show Gist options
  • Save lispyclouds/a202c000b2b61d174d18811c1ab65c80 to your computer and use it in GitHub Desktop.
Save lispyclouds/a202c000b2b61d174d18811c1ab65c80 to your computer and use it in GitHub Desktop.
REPL in REPL
; to define the loop macro
(defmacro loop_ [& body] `(while true ~@body))
; Create the REPL!
(-> (read) (eval) (println) (loop_))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment