lua-users home
lua-l archive

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


* David Given:

> In a desperate attempt to bring things back on topic, I'll point out
> that it would be possible to make a no-dynamic-allocation Lua subset,
> but it wouldn't be very like what we'd consider to be Lua: no table
> creation, no assignment to arbitrary table keys, and a very limited
> amount of function nesting. It'd probably be relatively straightforward
> to compile it to machine code, TBH, because it wouldn't support any of
> the dynamic features that make Lua Lua... I wonder if such a thing would
> be useful?

It could be used to implement parts of Lua.  Scheme48 does something
similar.  Pypy has got some non-dynamic Python subset as well, IIRC.