lua-users home
lua-l archive

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


On Tue, Mar 10, 2009 at 3:47 AM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> There's probably a good reason why this is not already part of lua, can
>> anybody shed some light on this ?

> To avoid bloat and also because the perfect place for such a feature is
> in a text-encoding library (which would also handle base64, ascii85, etc.)

Well, if bloat is a problem, personally I'd prefer to have
hexadecimals in core language and decimals to be left to be added from
outside.

Since Lua accepts integer hexadecimal constants now, it would only be
logical to have hexadecimals in the string literals as well. Also
useful.

Alexander.