lua-users home
lua-l archive

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


On Wed, Aug 1, 2018 at 1:16 AM Dibyendu Majumdar <mobile@majumdar.org.uk> wrote:
Are there features in Lua that could be removed to create a simpler language?

I think I would be just fine without:
- goto (and labels)
- repeat ... until
- varargs
- do ... end (maybe even this could go)

Also:
- load, loadfile, dofile, loadstring -> just load
- consolidate setmetatable and debug.setmetatable etc. (?)
- string.len

Well, maybe even:
- Weak tables could go

On (built-in) libs there is a lot to remove. But well a lot to add too :-).