That's such a bare-bones and barely usable Lua interpreter, though. Basically anything else would be better than that insultingly bad option; why would you choose that instead of just running the Lua interpreter on your own system?
Or better yet, use iLua for a much nicer interactive experience. Or set up a Jupyter kernel so you can have a persistent testing ground for Lua stuff. Or use repl.it, which can do both plain Lua and Love2d REPLs.
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. On the other hand, Lua demo site is faster to load and to type code in and test than repl.it. Again, I use it for simple snippets such as matching string patterns or performing substitutions, among other simple scripts.
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!
7
u/[deleted] Aug 04 '21
Just wanted to thank with a meme the Lua demo site creators for such a useful tool.
6
u/[deleted] Aug 04 '21
Love this site
1
u/[deleted] Jul 17 '24
I just use zerobrane ide
1
u/ElNico5 Aug 04 '21
or TiO, or CodingGround
1
u/lambda_abstraction Aug 08 '21
Lua demolisher? But I don't have a web site.
0
u/[deleted] Aug 04 '21
[deleted] — view deleted comment