[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua and backwards compatibility - was Re: [ANN] Lua 5.3.4 (rc2) now available,
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 13 Jan 2017 11:03:51 -0200
> 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