Is it able to access the file system and write/read files?

I've been doing that via PythonSCAD for my current project https://github.com/WillAdams/gcodepreview and it might be interesting to do a re-write in another language.

Yes, it executes in a full fledged Lua environment. So you can do all the things you expect do be able to do with Lua!

I’d pick Lua over Python any day, but maybe that’s just me. ;-)

I've had good success w/ using Lua in LuaLaTeX, so hopefully a good fit for me to exercise my programming chops. I think it will be interesting to maintain two parallel versions for comparison/contrast. Thanks!