Re: Lua constraints (request for ideas!)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Lua constraints (request for ideas!)
- From: Vyacheslav Egorov <mraleph@...>
- Date: 2006年10月15日 18:09:29 +0700
Asko Kauppi wrote:
The approach is good in that it keeps all patching on the parser/coder
side, and runtime area is untouched. Later, there is a chance to
optimize with a new VM code if needed.
I thought about avoiding patching at all... You can supply your own
equivalent to loadstring/loadfile. It will transform source and load it
through old loadstring.
Pros:
- No need to patch anything
- No need to understand VM magic
I tried to imagine a feature that cannot be done in such a way, but failed.
--
e.v.e