Questions tagged [repl]

For questions about Read-Eval-Print Loops (REPLs), an interactive programming environment that allows users to enter commands or code snippets, which are then evaluated, executed, and the results are immediately displayed.

Filter by
Sorted by
Tagged with
13 votes
1 answer
233 views

How to implement a REPL for a compiled language?

Implementing a REPL is relatively straightforward for an interpreted language; the interpreter maintains the program state as normal, and evaluates each separate statement as normal, just using the ...
kaya3's user avatar
  • 18.4k
0 votes
3 answers
146 views

Should a REPL show null values as null? [closed]

I'm working on a REPL for a language that has a null value, and I'm not sure how to represent it in the output. The behavior of existing REPLs seems to be either to represent it by its name (...
Ginger's user avatar
  • 2,599