Amsit S

Results 21 comments of Amsit S

> It seems like luarocks' --lua-version and include directory is being hardcoded at build time by termux's packaging through the configure script. > > I'm not sure what can we...

> I'm not very familiar with lua(rocks), but our package [depends on/uses lua5.3](https://github.com/termux/termux-packages/blob/master/packages/luarocks/build.sh#L8-L23), so I guess it only works with 5.3. Do you strictly need to use lua5.1? @Grimler91 You...

test compiling lpeg with default lua version (lua5.3) ``` ┌[ .../tmp/luarocks-test ]─[ ] └─ ~/Program/Luarocks/3.9.1/bin/luarocks init Initializing project 'luarocks-test' for Lua 5.3 ... ---------------------------------------------------- Checking your Lua installation ... Warning:...

test compiling lpeg for lua5.1/luajit ``` ┌[ .../tmp/luarocks-test-5.1-or-jit ]─[ ] └─ ~/Program/Luarocks/3.9.1/bin/luarocks --lua-version=5.1 init Initializing project 'luarocks-test-5.1-or-jit' for Lua 5.1 ... --------------------------------------------------------------- Checking your Lua installation ... Adding entries to...

![Screenshot_20210928-103614](https://user-images.githubusercontent.com/10000281/135019318-cc5511bc-e795-45c5-b894-d244577b498d.png) Also `class` function isn't defined

but value is an table ```lua local function err_handler() return {} end local ok, err = xpcall(function() error({}) end, err_handler) print("table err", err, type(err)) local ok, err = xpcall(function() error("oh...

Its correct with code : ```lua local function f (a,b) return a + b end local function err (x) print ("err called", x) return "oh no!" end local function pcallfun()...

> I don't understand what your code is intended to demonstrate. There are no errors involved in that code, so it does not trigger the bug. > > My code,...

Without hacking termux apps , just calling termux activity https://github.com/amsitlab/termuxlauncher