About REPL

A REPL, short for Read–Eval–Print Loop, is an interactive programming environment. You type one piece of code, it is evaluated, the result is printed, and it waits for your next input. That makes it ideal for exploring a language and for checking a result before you move on.

For more on REPLs, see the wiki page:

REPL - Wiki

About OpenREPL

OpenREPL is a free, open-source platform for running code in the browser. Pick one of 19 languages, including C and C++, Go, Python, Java, JavaScript, Rust, Ruby and Bash, and start typing. There is nothing to install and no account is needed. It suits beginners learning a language, developers testing a snippet before it goes into their application, and anyone preparing for coding interviews.


What you can do

  • Run and debug your code, with gdb for C, C++, Go, Rust and assembly.
  • Share a live link so others can watch and type along, or make a code link to a copy of your code.
  • Fork a terminal to run a server and a client side by side.
  • Keep files in your workspace, and sign in to keep them between visits.
  • Ask Genie, the AI helper, about your code and your terminal output, review its suggestions as a diff, let it carry out a task in Agent mode when you are signed in (it can also work in your terminal, open terminal tabs and manage your files), or right-click selected code to explain, fix, comment or test it. Genie keeps working when you close its panel, and the Ask Genie button tells you when it is done or needs you. Pin it to dock it beside the editor.
  • Practice DSA with 300+ ready-made interview problems (and your own generated ones), with a coach for hints, a solution review and complexity.

Beta

OpenREPL is a beta. It is under active development and has some limitations, but it is worth trying. Tell us about problems or missing languages with the contact form on the home page.


Terms and privacy

Use of the service is covered by the Terms of use and the Privacy policy. The source code is open and available on GitHub.