lua-users home
lua-l archive

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


I hope Lua could add #line support, just as this:

local M = {}
::line("test.lua", 10)::
-- generated lua code ...
::line(current, 4)::
-- other code...

It will much help for code generating in Lua.
Jim <djvaios@gmail.com> 于2018年9月15日周六 上午3:58写道:
>
> i would add support for binary and octal integer literals like
> 0b1001011 or 0o0755 as in Python and Ruby.
>
> octal integer literals are helpful when working with unix (file)
> modes/permissions (which i do frequently).
>


-- 
regards,
Xavier Wang.