Skip to main content

What is REPL?

Published 1 min readMarkdown
Part of seriesNode
What is REPL?

A Read-Eval-Print Loop (REPL) is an interactive interpreter to a programming language. It allows for simple experimentation with a language by bypassing the compile stage of the "code -> compile -> execute" cycle.

There are 4 components to a REPL:

  • A read function, which reads input from the keyboard
  • An eval function, which evaluates code passed to it
  • A print function, which formats and displays results
  • A loop function, which runs the three previous commands until termination

About the author

  • Full Stack Developer with a passion for building web applications. PHP, Node.js, Laravel, MySQL, MongoDB. Love collaborating & making a difference

No comments yet. Be the first to comment.

Node

Part 25 of 26

In this Series, I will share my knowledge while learning more about Node

Up nextWhat tools can be used to assure consistent code style?Prettier ESLint Airbnb JavaScript Style Guide

More from this blog