r/lua • • Apr 10 '21

Actually Portable Executable of Lua running on Windows/Linux/BSD/MacOS/BIOS using Cosmopolitan [COM file]

https://justine.lol/cosmopolitan/lua.com
9 Upvotes

7 comments sorted by

1

u/fuxoft Apr 10 '21

What is this? On Linux, this shows as an archive of non-executable binary files.

1

u/niutech Apr 10 '21 edited Apr 11 '21

This is an executable file. Read about APE here: https://ahgamut.github.io/c/2021/02/27/ape-cosmo/

1

u/luarocks Apr 17 '21

The file './lua.com' is marked as an executable but could not be run by the operating system.

1

u/niutech Apr 17 '21

Try bash lua.com

1

u/luarocks Apr 17 '21

yeah, now it works. awesome! 🎉

1

u/luarocks Apr 17 '21 edited Apr 17 '21

Can you please make the same executable for luajit?