▲ | ModernMech 9 hours ago | |||||||
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. | ||||||||
▲ | mrcjkb 4 hours ago | parent | next [-] | |||||||
That's a neat idea, but it would mean we'd have to maintain our own library. When editing with the CLI, you have to make sure you preserve comments, which the toml-edit crate does quite well. | ||||||||
▲ | NuclearPM 8 hours ago | parent | prev [-] | |||||||
Do you think that is more difficult than explaining to the students why they can’t use loops in their lua config files? | ||||||||
|