Created
November 7, 2018 10:09
-
-
Save lispyclouds/a202c000b2b61d174d18811c1ab65c80 to your computer and use it in GitHub Desktop.
REPL in REPL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 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