Lua Playground
Execute
CODE.LUA
-- Your Lua code here print("Hello, cyberpunk world!") print("Running Lua " .. _VERSION) local function factorial(n) if n <= 1 then return 1 else return n * factorial(n-1) end end print("Factorial of 5 is: " .. factorial(5))
TERMINAL_OUTPUT
// Output will appear here\n> Awaiting execution...