Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. A read-eval-print
loop (REPL), also known as an interactive toplevel, is a simple,
interactive computer programming environment. The term is most usually
used to refer to a Lisp interactive environment, but can be applied to
command line shells and similar environments for Smalltalk, Standard_ML,
Perl, Prolog, Scala, Python, Ruby, Haskell, APL, BASIC, J, Tcl, and
other languages as well. In a REPL, the user may enter expressions,
which are then evaluated, and the results displayed. The name
read-eval-print loop comes from the names of the Lisp primitive
functions which implement this functionality: * The read function
accepts a single expression from the user, and parses it into a data
structure in memory. For instance, the user may enter the s-expression
(+ 1 2 3), which is parsed into a linked list containing four data
elements.