|
Let inroduce new reserved word "pure_function" into lua.It should work similar to usual function exceptall variables used inside are implicitly localno access to any upvalues or global namespace _GSo it could interact with arguments it was passed.This allows to isolate parts of code from whole program.In lua 5.3.4 there is no way to do it.