interactive interpreter REPL eval by language

Executing Interactive Interpreters for Different Languages - REPL / eval

Introducing interactive interpreters (REPL) and script evaluation methods for various programming languages.

Shou Arisaka
1 min read
Nov 9, 2025

Introducing different interactive interpreter (REPL) and script evaluation methods for various programming languages.

These tools make it easy to execute programming languages and try out code, which is useful for learning to program.

Ruby

irb

Launch Ruby’s interactive console irb.

pry

Launch the pry interactive console used as a debugging tool.

Python

python

Launch Python’s interactive console python.

PHP

php -a

Launch PHP’s interactive shell and execute code.

C#

Visual Studio C# Interactive Window

Use Visual Studio to open the C# interactive window and execute code.

csc
#load "Y:\c_sharp\samp.cs"

JavaScript

Google Chrome DevTool

Use the console in Google Chrome’s developer tools to execute JavaScript code.

Swift (Mac)

xcrun swift hoge.swift

Execute the Swift program hoge.swift. Launch the Swift interpreter.

xcrun swift

Launch Swift’s REPL.

Online Environments

Instead of interactive interpreters, you can also use online environments. For example, there’s Wandbox. Wandbox is an online service that can execute code in various programming languages.

I think these interactive interpreters and execution methods are useful for learning programming languages and testing code. Please make use of them.

Share this article

Shou Arisaka Nov 9, 2025

🔗 Copy Links