MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lua/comments/1jxnt4v/lua_ios/
r/lua • u/MTT_C8 • Apr 12 '25
Is there a way to write and run Lua code safely on IOS, but without Jailbreaking or other sketchy things?
6 comments sorted by
1
i mean, there are apps that allow you to get a console i/o but if you mean something like an actual app engine, i'm afraid there's none of sort
Yes. Lua is designed to be embedded and you just have to include it as a library to link with. It is C so you have to bridge from Swift to C to call the Lua API but there are some Swifty Lua bindings on github.
Rent a VPS, use an app like Termius to SSH into it, run a persistent session with tmux or screen, and run Lua. Pretty simple
I use this app for experimenting:
*My favorite app::Lua IDE Fresh Edition https://itunes.apple.com/app/id1397407763?mt=8
There is a Love2D Studio app for iOS that can run the code you write in Lua.
1
u/Bright-Historian-216 Apr 12 '25
i mean, there are apps that allow you to get a console i/o but if you mean something like an actual app engine, i'm afraid there's none of sort
1
u/Serious-Accident8443 Apr 12 '25
Yes. Lua is designed to be embedded and you just have to include it as a library to link with. It is C so you have to bridge from Swift to C to call the Lua API but there are some Swifty Lua bindings on github.
1
u/revereddesecration Apr 13 '25
Rent a VPS, use an app like Termius to SSH into it, run a persistent session with tmux or screen, and run Lua. Pretty simple
1
u/paulstelian97 Apr 13 '25
I use this app for experimenting:
*My favorite app::Lua IDE Fresh Edition https://itunes.apple.com/app/id1397407763?mt=8
1
u/Pen_Siv Apr 13 '25
There is a Love2D Studio app for iOS that can run the code you write in Lua.