Node.js REPL
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.
Why did you make this?
Uhhh... read the post? @ChungusFam
But this is Javascript, not python
Yeah, that's why it is best :) @SvenDeveloper
Hmmmm. Maybe figure out a way to support the continuation of a line, like if I did
function x() {
Hmmmm ok like type .run to run it ok @Highwayman
@Coder100 yeah! Like keep a context like with regular node. Or maybe they already do that?
Lol. Nice! :)
Thanks! @Highwayman
it does not work
Why though
And you asked three times for upvotes like chill out
Lol idk but now I'm at 690 so I'll remove that @Zexogon
@Coder100 >w> ok
See
@Zexogon
@Coder100 o k
Thx @Zexogon
But
696
Is better just saying @Zexogon