5 ms·
> PS: If I would implemented it, I would deviate a bit from Lua and replace local with let. It's highly subjective but I think it would make code "prettier"(wha
by stephen82 5y ago
> PS: If I would implemented it, I would deviate a bit from Lua and replace local with let. It's highly subjective but I think it would make code "prettier"(whatever that means)
The idea behind it is to have the lowest syntax barrier possible for Lua developers so they can migrate from Lua to Nelua without a sweat.
- 6d65 5y agoYep, it makes sense. With the popularity of Roblox with the young people, and it using Lua for scripting, Lua can see a renaissance of some sorts.
- mst 5y agoCould you macro up an alias if you wanted to?
- edubart 5y agoYou could change the language grammar through the preprocessor to accept "let" as an alias for "local". But I recommend people get used to Lua syntax because the metaprogramming will be done in Lua anyway, thus both programming and metaprogramming contexts have similar syntax.