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 that works until a day you choose.
  • 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.
  • Signed in, add libraries and tools (such as Flask or NumPy) from the App Store: installed once on the server in the smallest form that works (the page shows its size), and enabled only for your own terminals. Programs the server already has are listed as built in, every app has a link to its documentation, and a name that is not offered can be requested.
  • 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 plans the task, searches and reads your files, edits one part of a file, checks its work, can carry on past its steps, list and undo what a task changed, stop and ask when it is stuck, be resumed after the page closed, and 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. Add files, folders and selected code to the chat from the Files panel and the editor, so Genie reads exactly what you point at. Each chat is a tab that is saved in your workspace and comes back after a reload. Genie knows how the editor and the terminal work, suggests a stronger model when a small one is used in Agent mode, and offers starter questions in an empty chat. With the Preview open it reads your page, tries it like a visitor and checks its errors. 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.