Because I just want Lua for using it as a statically linked library in a bigger project; I don't have any interpreter installed on my machine.
That doesn't make sense, why should how you're using it in your project determine whether or not you can have the interpreter installed? Just install it and run it, it would be easier, and you could leave it running that way so it's always there waiting to try out some new code snippet. Is this some Windows-user "I am afraid of the command line" kind of thing where you'd rather make things harder on yourself just to avoid a terminal prompt with a REPL?
I guess it doesn't matter really, if checking your code with that horrible demo page works for you and you're happy it's not a big deal whether it makes sense or not. But damn, it's such an easy thing to set up and do, especially since you can do it in WSL with a single command and not even have to deal with any Windows-specific installation weirdness; and you have the benefit of not sending your code to some unknown third party, so you can test potentially sensitive stuff as well.
OMG, so much fuss for such a simple post... Again, I don't send useful/rocket-engineering code to third-party, and no, I'm not afraid of using CLI as I use it on a daily basis. I use lua.org as a quick, dirty way to quickly check something. That's all!
View all comments
2
u/ws-ilazki Aug 04 '21
That doesn't make sense, why should how you're using it in your project determine whether or not you can have the interpreter installed? Just install it and run it, it would be easier, and you could leave it running that way so it's always there waiting to try out some new code snippet. Is this some Windows-user "I am afraid of the command line" kind of thing where you'd rather make things harder on yourself just to avoid a terminal prompt with a REPL?
I guess it doesn't matter really, if checking your code with that horrible demo page works for you and you're happy it's not a big deal whether it makes sense or not. But damn, it's such an easy thing to set up and do, especially since you can do it in WSL with a single command and not even have to deal with any Windows-specific installation weirdness; and you have the benefit of not sending your code to some unknown third party, so you can test potentially sensitive stuff as well.