Top "Read-eval-print-loop" questions

A Read-Eval-Print Loop (REPL) is the most common model for an interactive interpreter - it Reads input, Evaluates it, Prints it, and Loops back to the beginning.

How do I load a file into the python console?

I have some lines of python code that I'm continuously copying/pasting into the python console. Is there a load …

python read-eval-print-loop
How to save a Python interactive session?

I find myself frequently using Python's interpreter to work with databases, files, etc -- basically a lot of manual formatting …

python shell read-eval-print-loop interactive-session
How can I start an interactive console for Perl?

How can I start an interactive console for Perl, similar to the irb command for Ruby or python for Python?

perl console interactive read-eval-print-loop
Is there an interpreter for C?

I was wondering if there is something like an interpreter for C. That is, in a Linux terminal I can …

c interpreter read-eval-print-loop
How can I use swift in Terminal?

I read What's new in Xcode 6. The article introduces some new feature about Xcode 6, and it says: Command Line Xcode’…

xcode swift terminal read-eval-print-loop
In Python interpreter, return without " ' "

In Python, how do you return a variable like: function(x): return x Without the 'x' (') being around the …

python interpreter read-eval-print-loop
How to reload a clojure file in REPL

What is the preferred way of reloading functions defined in a Clojure file without having to restart the REPL. Right …

clojure reload read-eval-print-loop leiningen
Does Go provide REPL?

The interactive environment is VERY helpful for a programmer. However, it seems Go does not provide it. Is my understanding …

go read-eval-print-loop
How do I load my script into the node.js REPL?

I have a script foo.js that contains some functions I want to play with in the REPL. Is there …

javascript node.js read-eval-print-loop
Have you used any of the C++ interpreters (not compilers)?

I am curious if anyone have used UnderC, Cint, Cling, Ch, or any other C++ interpreter and could share their …

c++ interpreter read-eval-print-loop