Skip to main content

Run a short Lua example on a separate background thread and see the printed results or errors.

Preview and results

After processing is complete, the results will be displayed here.

Instructions for use

  1. Enter the Lua program in the code box to run the prefilled example first.
  2. Click "Run Lua" to view printed results or code errors.
  3. Modify the code and rerun; without files, network and system interfaces, it will time out and stop.

Input and output examples

Example input
print(2 + 3)
Example output
5

These are demo inputs and sample results, and do not mean that your data has been processed.

Calculation basis and reference materials

Using Fengari's Lua 5.3 semantics, integers are 32 bits. Only basic, math, string, table, and UTF-8 libraries are open, and no file, network, system, debugging, or JS interop is provided. Maximum 20,000 characters, terminated by timeout.

Content check: · About this site and content description

Related tools