Skip to main content
REPL

REPL

1 8.4
A program where you type code and see results right away
  • noun
  • /ˈrɛpəl/
  • Specialized
translation icon : REPL
  • We get the connection between variables and their values in tools like workspaces, REPLs, object inspectors, and (again!) debuggers, but not when viewing program text in ordinary editors or even in class browsers.

Examples

  • There would always be a live instance of your scope associated with any code you are editing, with the ability to evaluate incrementally as you edit the code (as in a REPL) and step backwards and forwards as in a time-traveling debugger.

    Blog text (20)
  • The reason GUIs (and browsers and REPLs) are hard is that they are programs where there are two different entities in control.

    Blog text (8)
  • And the REPL/GUI example is also a great one.

    Blog text (8)
  • Or a REPL and the GUI that presents it to the user.

    Blog text (8)
  • It seems to me that the various tools, such as editors, class browsers, object inspectors, workspaces, REPLs, and debuggers, create distinct modes of operation.

    Blog text (20)
  • In the REPL, you can quickly test your code and see the results immediately.

  • He typed his command into the REPL and was pleased with the instant feedback.

  • Using the REPL allows developers to experiment with code snippets in real time.

How Interactive

REPL
  • Specialized
1 8.4
command line interface
  • Specialized
1 6.7

Surface Forms

REPL singular
REPLs plural

Etymology

REPL stands for Read-Eval-Print-Loop, which describes the little cycle it follows. It 'reads' what you type, 'eval' is short for 'evaluate' meaning 'to run' the code, 'prints' the result, and 'loops' to do it again, so a REPL is an interactive tool where you can type code and see results immediately.