Read–eval–print loop

A read–eval–print loop (REPL), also known as an interactive toplevel or language shell, is a simple, interactive computer programming environment that takes single user inputs (i.e. single expressions), evaluates them, and returns the result to the user; a program written in a REPL environment is executed piecewise. The term is most usually used to refer to programming interfaces similar to the classic Lisp machine interactive environment. Common examples include command line shells and similar environments for programming languages, and is particularly characteristic of scripting languages.

Overview

In a REPL, the user enters one or more expressions (rather than an entire compilation unit) and the REPL evaluates them and displays the results. The name read–eval–print loop comes from the names of the Lisp primitive functions which implement this functionality:

  • The read function accepts an 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.
  • Podcasts:

    PLAYLIST TIME:

    Latest News for: repl

    Edit

    Publication of Notification in the Extra Ordinary Gazette of India under the Petroleum and Minerals Pipelines (ARUL) Act, 1962 for Dahej Parvat Pipeline of M/s. REPL. (Ministry of Petroleum and Natural Gas of the Republic of India)

    Public Technologies 09 Apr 2025
    ). रजिस्ट्री सं. डी.एल.- 33004/99. REGD. No. D. L.-33004/99. सी.जी.-डी.एल.-अ.-09042025-262385. xxxGIDHxxx. CG-DL-E-09042025-262385. xxxGIDExxx. असाधारण. EXTRAORDINARY. भाग II-खण्ड 3-उप-खण्ड (ii). PART II-Section 3-Sub-section (ii). प्राजधकार सेप्रकाजित ... सं. 1644] ... No.
    • 1
    ×