You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lua tables is a decent data format comparable to JSON etc. However having access to function, for etc makes it potentially unsafe to use as such, even if you SkipOpenLibs: true.
Therefore it would be nice to have a way to turn off all the control structures, so you can safely load Lua data files without worrying about infinite loops or similar.
If anyone knows of a minimal Go parser for Lua data files, that would also be interesting.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Lua tables is a decent data format comparable to JSON etc. However having access to
function
,for
etc makes it potentially unsafe to use as such, even if youSkipOpenLibs: true
.Therefore it would be nice to have a way to turn off all the control structures, so you can safely load Lua data files without worrying about infinite loops or similar.
If anyone knows of a minimal Go parser for Lua data files, that would also be interesting.
Beta Was this translation helpful? Give feedback.
All reactions