Hi,
I'm searching for a lua module that would be cross platform for the
main desktop OS that would provide all basic functions that I need
without the the neeed to require some others modules.
Does something like that exists or do I have to create it ?
Something that would implement
- all filesystem functions (like file_exists, is_dir, is_file,
file_type, mkdir_recursive, mdir_recursive, unlink, rmdir and some
others)
- some way to communicate between programms (I know there are
fifos on unix but what about Windows ?) and to fork even on Windows
- all input/output functions, bufferized or not.
- an exception system for lua (I already have my module for that :)
Something I don't understand is for example why there is os.remove
and os.rename functions but not mkdir, rmdir (which are in
luafilesystem) and copy (can't find this one). Why do I need 3 modules
to handle filesystem (the standard os, luafilesystem and a home made
to have is_file, file_exists, copy, ...) ?
I think actually it's easy to write cross platform in python (for
example) since there are the cross platform batteries included. But in
lua, because I have to create them myself, and because I only have
linux, my programms can't be that easily ported to others platforms.
I'm searching for those batteries for Lua.
--
Mildred <xmpp:mildred@jabber.fr> <http://mildred632.free.fr/>
Clef GPG : <hkp://pgp.mit.edu> ou <http://mildred632.free.fr/
gpg_key>
Fingerprint : 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 [9A7D 2E2B]