-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Description
In order to convert current April-ANN packages in Lua modules we need to:
- Remove any lateral effect, as the declaration of GLOBALs. The
utilpackage could be an exception to this rule, because it replaces some Lua functions astypeortable.insert, and extends other Lua modules, asmath,string, etc. - Packages must be developed self-contained, in the sense of the Lua tables where the packages bind their functionalities. One package means one Lua table with the name
aprilann.PACKAGE_NAME. - Bindings must declare ONLY one Lua table in the GLOBALs.
- Formiga will prepare luaopen_aprilann_PACKAGE_NAME functions to return the table declared with the name aprilann.PACKAGE_NAME.
Any suggestions?
Reactions are currently unavailable