[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Byte Code and Backwards Compatibility (was Re: Explicitlytriggering the Garbage Collector)
- From: Klaus Ripke <paul-lua@...>
- Date: Mon, 8 Aug 2005 12:26:46 +0200
On Mon, Aug 08, 2005 at 11:37:52AM +0200, Philippe Lhoste wrote:
> Of course, that doesn't solve backward compatibility, I guess you have
> to ship recompiled code with the new engine.
It should not be too hard to decode 5.0 bytecode,
at least where it is generated by the well known 5.0 compiler,
to lua code that can be fed to version x compiler
even if literal/comments syntax is changed.
However, if some new version is going to break the code,
e.g. setfenv semantics are going to change,
your out of luck anyway.