4 ms·
Some features like break N and default function args seem to be incompatible with the vanilla lua vm.
by 90s_dev 1y ago
Some features like break N and default function args seem to be incompatible with the vanilla lua vm.
- Rochus 1y agoI think that would be achievable with plain PUC Lua bytecode; it's actually just a jump. The same for default function arguments; the VM doesn't actually care how many arguments the caller pushes on stack, and providing default values is easy to implement for the caller.