It would certainly be possible, but as far as being easy or even
desirable is a different story. One of the goals of Lua is to
provide a very minimal (and very portable) core. There is some
support for reading, writing, renaming, and removing files, but
other filesystem functions like stat() and mkdir() are missing.
There are many external modules available that can provide these
things (and a lot more). On other systems (e.g. Linux) they are
usually loaded at run-time via the "require" statement but this
approach isn't currently posible on Minix due to the lack of
shared library support. So any extra modules would need to be
compiled directly into the Lua executable. (I would recommend
at least including in the "posix" module, if you can get it to
compile on Minix.)
Another handy feature that is already included in the core Lua is
the popen() function that allows you to read the output from other
programs directly from Lua. This feature will work on Minix, but it
takes a few tweaks to the Lua makefile to enable it.
Regards,
- Jeff