lua-users home
lua-l archive

Re: manual improvement for next() [WAS: How undefined is undefined behaviour?]

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Jun 10, 2021 at 7:16 PM Pierpaolo Bernardi <olopierpa@gmail.com> wrote:
> This may be true for the implementation that you checked.
>
> What the language guarantees is: nothing.
This is illogical, because Lua is a versioned language, and each Lua
version is defined by the corresponding open-source implementation and
manual, modulo bugs.
For the record, the description I gave is based entirely on the manual
for Lua 5.4 (but either one could still have bugs).
It may also be correct for other versions of Lua, though.
Cheers,
V.

AltStyle によって変換されたページ (->オリジナル) /