lua-users home
lua-l archive

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


> I would like to hear a discussion about how the lua core can have some
> of its assumptions about numbers loosened so that new number disciplines
> like this can be implemented with minimal patching (preferably, none!)
> of the core code

This is already (mostly?) possible using the luai_num* macros in
luaconf.h. The next version will add the Lua state to those macros,
which hopefully will allow all sorts of implementations for numbers.
--lhf