[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Simulating Lua states in Lua with only 250 lines of code
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 24 Jun 2015 14:11:25 -0300
> As I replied on IRC; I think that lexically scoped metatables for the
> base types are a much better idea.
> I even coded up a proof of concept:
> https://gist.github.com/daurnimator/dedd793e6f9b1f8d6b0c
> (obviously if such a feature made it into PUC-lua, the `debug` calls
> would be unnessecary)
Do you have an idea about how to implement it efficiently and correctly?
-- Roberto