Lua is currently the only language that Scribunto supports. Thus existing modules in the Wikimedia projects are all written in Lua. In requirement to support migrating code from the modules in Wikimedia projects to Wikifunctions would be for Wikifunction to support Lua.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Invalid | None | T352600 Tracking task for new language feature requests for Wikifunctions | |||
Open | Feature | None | T307171 Add Lua as a programming language to Wikifunctions |
Event Timeline
Comment Actions
I'm interested in contributing to make this happen in 2024S1, but I need a bit of information and maybe some mentoring. Would that be fine? Or do you prefer doing this kind of tasks "internally"?
I've seen this repo on GitLab: https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator
I assume that's where I have to create the function evaluator for Lua, and base this new executor on existing ones?
Both JS and Python executors also have WASMEdge executors. What are these used for? Should one for Lua created as well? If so, is there any documentation on that matter?
Comment Actions
@Poslovitch https://meta.wikimedia.org/wiki/Abstract_Wikipedia/Updates/2023-10-25 has information on why JS and Python are run on WASM.