read-eval-print loop


read-eval-print loop

(language, LISP, programming)(REPL) A programming structurewithin LISP which repeatedly reads a form from the user,evaluates it, and displays the result.

A read-eval-print loop forms the basis of the Top-Levelshell that programmers of the LISP family of languagesinteract with.

In many dialects of LISP a very simple REPL could beimplemented as:

(loop (print (eval (read)))).