Files
compiler-explorer/etc/config
532b6c2b57 Fix #8695: [LANGUAGE REQUEST]: Add lua as a supported language (#8696)
Automated fix by @leftibot.

### What changed

> Fix #8695: add Lua as a supported language
> Add support for Lua via the reference PUC-Rio interpreter. Disassembly
is
> produced by `luac -l -l -p`, which writes a verbose bytecode listing
to
> stdout that the LuaCompiler captures and writes to the output file.
The
> class exposes overridable hooks (`resolveLuacExe`,
`getDisassemblyArgs`)
> so alternative implementations such as LuaJIT can plug in a different
> bytecode dumper without rewriting the compiler. Production config
ships
> five Lua releases (5.1.5, 5.2.4, 5.3.6, 5.4.7, 5.5.0) covering the
> actively used minor versions.

### Files
```
 etc/config/lua.amazon.properties   |  27 ++++++
 etc/config/lua.defaults.properties |   5 +
 examples/lua/default.lua           |   5 +
 lib/compilers/_all.ts              |   1 +
 lib/compilers/lua.ts               | 182 +++++++++++++++++++++++++++++++++++++
 lib/languages.ts                   |  11 +++
 test/lua-tests.ts                  | 138 ++++++++++++++++++++++++++++
 types/languages.interfaces.ts      |   1 +
 8 files changed, 370 insertions(+)
```

Closes #8695

_Triggered by @lefticus._

---------

Co-authored-by: leftibot <leftibot@users.noreply.github.com>
Co-authored-by: Matt Godbolt <matt@godbolt.org>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 22:45:23 -05:00
..
2026-04-30 14:44:04 -05:00
2022-11-14 21:01:33 -06:00
2026-04-30 14:44:04 -05:00
2022-04-25 10:25:33 -05:00
2026-06-01 07:13:49 -05:00
2021-04-06 20:21:10 -05:00
2023-12-03 17:11:49 -06:00
fix
2025-07-27 14:49:45 +02:00
2025-11-25 00:55:08 +01:00
2023-01-23 20:31:51 -06:00
2026-06-02 12:19:29 -05:00
2026-06-02 12:19:29 -05:00
2026-04-30 14:44:04 -05:00
2024-02-09 18:59:48 +01:00
2025-02-19 10:41:42 -06:00
2025-02-19 10:41:42 -06:00
2025-12-29 11:04:46 +01:00
2026-05-29 11:11:49 +02:00
2026-04-08 20:18:43 -05:00
2023-08-15 22:16:36 -05:00
2023-04-10 22:49:15 -05:00
2024-10-22 06:37:40 -05:00
2024-10-22 06:37:40 -05:00