Roberto Ierusalimschy 9b37a4695e New semantics for the integer 'for' loop
The numerical 'for' loop over integers now uses a precomputed counter
to control its number of iteractions. This change eliminates several
weird cases caused by overflows (wrap-around) in the control variable.
(It also ensures that every integer loop halts.)

Also, the special opcodes for the usual case of step==1 were removed.
(The new code is already somewhat complex for the usual case,
but efficient.)
2019-03-19 10:53:18 -03:00
all
2019-03-14 15:30:54 -03:00
2019-03-14 15:30:54 -03:00
2019-03-14 15:30:54 -03:00
2019-03-14 15:53:42 -03:00
2019-03-15 13:14:17 -03:00
2019-03-15 13:14:17 -03:00
2019-03-14 15:30:54 -03:00
2019-03-14 15:30:54 -03:00
2019-03-14 15:30:54 -03:00
2019-03-14 15:30:54 -03:00
2019-03-15 13:14:17 -03:00
2019-03-19 10:53:18 -03:00
Description
No description provided
17 MiB
Languages
C 67.4%
Lua 32%
Makefile 0.6%