Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

What's a REPL process and what can I use it for?

What's a REPL process and what can I use it for?

Problem

Possible Duplicate:
Relation between Repl, interpreter and compiler

I've been Experimenting on heroku.com with node.js and I've heard of a "REPL process" I could use for experimenting in my app’s environment.

Could someone give me an overview of what it is, and how it might be applied?

Problem Courtesy of: Michael Eilers Smith

Solution

REPL - As per the Wikipedia entry

It's a Read Eval Print Loop.

What that means for you is: It's like a console for your app. Every line you type is added to the existing program. But it's a bit more complicated than a "mere console" and it has some fancy additional things you can do.

In the case of your question, it's the node that's the REPL, and if you invoke node (like on your own machine - it's not a very large program) without any app code, you get the REPL.

Solution courtesy of: jcolebrand

Discussion

View additional discussion.



This post first appeared on Node.js Recipes, please read the originial post: here

Share the post

What's a REPL process and what can I use it for?

×

Subscribe to Node.js Recipes

Get updates delivered right to your inbox!

Thank you for your subscription

×