Lua Online IDE & Code Editor for Technical Interviews

Running 5.4.4 - IntelliSense is not available

Experience our Lua IDE yourself

See just how easy and intuitive CoderPad Interview is to use below.

Guidelines to use Lua in this online IDE

The Lua environment gives you the ability to write simple syntax with powerful data description constructs, making it ideal for configuration, scripting, and rapid prototyping.

function sum_n(n)
    local s = 0
    for i = 1, n do
        s = s + i
    return s

local n = 10
local s = sum_n(n)
print("The sum of the first " .. n .. " positive integers is " .. s)Code language: Lua (lua)