lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> I think actually the best solution for backwards compatibility for Lua wrt libraries would be for someone to develop something like the Babel transpiler for Lua to convert code between versions.  Then library code could always be updated to the latest version and transpiled back to the older versions.  Maybe using the ltokenp utility.

I am afraid the best solution for backwards compatibility of Lua
libraries would be proper maintenance. As tomas pointed out, adapting
Lua code to new versions is usually simple. Unfortunately, many Lua
libraries have poor or no maintenance at all (e.g., LPeg :-).

-- Roberto