Node.js REPL
h
Coder100 (6461)

NODE.JS repl

So @Andi_Chin made this and then @SvenDeveloper "made it better".
I'm here to make it best!

Revolutionary tactics

I think python good. But I must use node.js to make the code look neat and clean and expressive

const {_read, _eval, _print, _loop} = require("./repl.js");
_loop(
  _print(
    _eval(
      _read()
    )
  )
)

Looks much better than python...just sayin'

Enjoyment

If you look deeper into the code, we have 100% satisfaction guarantees. All the code is made so if the statement is like

true

Then it will return true and not be empty.
Also, errors will not kill the program, and I have added colors and also I have made it look 90% like my command prompt. Also, it is 90% accurate as to compiling.

node -e console.log('hi');

will run inline code. That is what is nearly happening here as well.

TO SUPPORT NODEJS, VOTE THIS POST UP!

Actually please don't. I like 690 a lot.

You are viewing a single comment. View All
Highwayman (1340)

@Coder100 yeah! Like keep a context like with regular node. Or maybe they already do that?