3 ms·
The word REPL comes from lisp and means Read Eval Print Loop. The significance is that unlike in, say, python, Read and Eval are separate. Read reads a string a
by Tuna-Fish 14y ago
The word REPL comes from lisp and means Read Eval Print Loop. The significance is that unlike in, say, python, Read and Eval are separate. Read reads a string and turns it into an in-memory data structure, Eval takes a data structure (not a string!) and evaluates it.
Using Read in a lisp is typically safe, so long as you turn off reader macros and the like.
- lloeki 14y ago> The significance is that unlike in, say, python, Read and Eval are separate. They are separate: * http://docs.python.org/library/ast.html#ast.parse * http://docs.python.org/library/ast.html#ast.literal_eval