# Lua versions

Each Lua version compiles to its own bytecode, and the decompiler learns them one at a time, only once it can decompile that version as faithfully as the last. Today that's Luau.

| version | today |
| --- | --- |
| [Luau](https://unreadable.gg/luau) | decompiles |
| Lua 5.5 | not yet |
| Lua 5.4 | not yet |
| Lua 5.3 | not yet |
| Lua 5.2 | not yet |
| Lua 5.1 | not yet |
| LuaJIT | not yet |

## dropping one that isn't read yet

You get a [`not-luau-bytecode`](https://unreadable.gg/docs/api#errors) error, which says which Lua the file looks like when it can tell, and costs nothing. The decompiler doesn't try to read it as something close, because a decompile from a misread file would be a different program that looks right.

When another version is added, it'll be in a release on the [changelog](https://unreadable.gg/changelog).
