lite icon indicating copy to clipboard operation
lite copied to clipboard

update lua from 5.2 to 5.4.7

Open badiku opened this issue 7 months ago • 0 comments

just did some update:

update stb_truetype from v1.19 to latest v1.26
update lua from 5.2 to 5.4.7
update SDL from 2.0.10 to 2.2.28

no even one line of C code need change. it just works. awesome


lua 5.4 only add int number(in 5.3), so there are only 2 two lines of .lua need change:

Error: data/core/init.lua:130: bad argument #2 to 'string.format'
Error: data/core/statusview.lua:109: bad argument #2 to 'string.format'
 (number has no integer representation)

just add math.floor() to cast arg to int and it just works.

also added lpeg, still no need to change any c code. just need compile lua to dll.

badiku avatar Jun 02 '25 05:06 badiku