Swiftpack.co - holzschu/lua_ios as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by holzschu.
holzschu/lua_ios 1.0
Lua language, patched so it can be called from iOS apps
⭐️ 27
🕓 2 weeks ago
.package(url: "https://github.com/holzschu/lua_ios.git", from: "1.0")

Lua for iOS shells and Command-Line-Interfaces

Minimal set of changes to Lua so it can be called from within an iOS app within Apple API constraints:

  • Xcode project to create dynamic libraries
  • rename main to lua_main and luac_main
  • rename system to ios_system
  • erase all memory when leaving the program

Instructions

  • Run the shell script get_lua_source.sh with sh get_lua_source.sh. It will download the source and patch a few files.
  • Run the shell script compile_lua.sh. This will create the lua_ios.xcframework binary framework.

GitHub

link
Stars: 27
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Binary frameworks for use with Binary Swift Packages (updated June 18, 2021)
1 year ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics