Project

General

Profile

Feature #403569

support of Lua 5.3

Added by Felix Höfling about 2 years ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%


Description

Lua 5.3 is not supported out of the box as it contains API-breaking changes. For example, the function math.pow() has been dropped and one is encouraged to write "a^b", which was not possible in Lua ≤ 5.2.

The problem shows up for example in the integration tests as

examples/liquid/lennard_jones_equilibration.lua:177: attempt to call a nil value (field 'pow')

A possible workaround is a compatiblity function which checks whether math.pow exists. Such an approach can easily become quite cumbersome. Thus, I suggest to not support Lua 5.3 for the time being, LuaJIT is still using Lua 5.1.

Also available in: Atom PDF