Re:Lux: A luxurious package manager for Lua
by ModernMech on Saturday October 18, 2025 @04:50PM
(#45630255)
Thanks that does answer my question! Had you considered parsing a subset of lua to get the properties you want? That way users don't have to learn a whole other syntax. I'm thinking in particular of my students whom I teach lua. They struggle enough learning one language, having to teach a second with all its quirks seems like a lot to throw at them.
[ Parent
| on HN ]
Re:Lux: A luxurious package manager for Lua
by NuclearPM on Saturday October 18, 2025 @06:05PM
(#45630670)
Do you think that is more difficult than explaining to the students why they can’t use loops in their lua config files?
Re:Lux: A luxurious package manager for Lua
by ModernMech on Saturday October 18, 2025 @06:32PM
(#45630815)
I wouldn't present it to them as "these config files are the same thing as Lua but without loops", but instead "these are config files and they have the same syntax as the Lua records we just learned about". And I would prefer that over "these are config files and they have a different syntax as the Lua records we just learned about." Although I can see merits on discussing that syntax differences exist between languages, that tends to overwhelm people learning their first language.