Expand description
LuaVersion — the single source of truth for which Lua language version a
runtime instance speaks.
This lives in lua-types, the lowest shared crate, so every layer above
(parser, compiler, VM, stdlib, runtime) can name the version without a
dependency cycle. Per the multi-version architecture decision
(specs/MULTIVERSION_ARCHITECTURE_DECISION.md §4, §5), the version is a
backend selector threaded from construction; it never appears in a public
embedding-API type.
Enums§
- LuaVersion
- Which Lua language version a runtime instance speaks.
- Number
Model - The numeric model a version uses for Lua numbers.