Page MenuHomePhabricator

Add Lua as a programming language to Wikifunctions
Open, Needs TriagePublicFeature

Description

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.

Event Timeline

Jdforrester-WMF changed the subtype of this task from "Task" to "Feature Request".Jul 20 2022, 2:24 PM

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?