Initializing Engine...
Loading WebAssembly binary...
Instantiating Lua VM...
Opening standard libraries...
Hooking output callbacks...
Ready!
Retry
⚡ Lua Web Runner
▶ Run (Ctrl+Enter)
-- Welcome to the Lua Web Runner (Powered by Fengari) -- Example 1: Functions and Printing print("--- Lua Engine Test ---") local function greet(name) return "Hello, " .. name .. "!" end print(greet("Explorer")) -- Example 2: Tables & Loops print("\n--- Prime Numbers ---") local primes = {2, 3, 5, 7, 11, 13} for i, p in ipairs(primes) do print("Prime #" .. i, "-->", p) end -- Example 3: Global state persistence if not run_count then run_count = 1 print("\n[State] First time running this session!") else run_count = run_count + 1 print("\n[State] You have run this code " .. run_count .. " times.") end