alibaba / alibaba/LuaViewSDK

我fork了工程,准备升级到Lua 5.3.4或者5.4.4,目前基本能运行,但是还有很多问题

Open
#97 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
3.7k
Forks
759
PR merge metrics
No merged PRs in 30d

Description

我的仓库:
https://github.com/andy380743909/LuaViewSDK

目前基本能运行,但是还有很多问题要修复,主要是从Lua 5.1.4到5.3.4或者5.4.4变动有点大,原来的很多代码都有问题。主要集中在本地代码在调用Lua的函数时,传递参数时往栈里push参数的差异。目前我对这个还不是特别熟悉,如果有大佬对这个很了解的,还望不吝赐教。
也欢迎感兴趣的朋友一起探讨一下。

我也阅读了MLN框架的源码,发现它也是基于Lua 5.1.4版本的,所以对于升级Lua方面的问题没有太大的参考价值。不过它的代码最后更新时间是去年,应该还是有人在维护的吧。而且它的源码组织,API设计看起来比这个库要好很多(我目前只是粗略地看了一下,没有深入了解)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked fork and review the native code that calls Lua, focusing on differences in stack argument pushing between Lua 5.1.4 and Lua 5.3.4 or 5.4.4. Reproduce the remaining runtime problems and compare behavior against the upgraded fork; done means the project runs without the reported compatibility issues, although no files or tests are named.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, objective-c
Domain
mobile-dev
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.