[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: IO
- From: "David Burgess" <dburgess@...>
- Date: Fri, 10 Nov 2006 16:54:25 +1100
Does it make sense to anybody else that Luas file IO should
be centalized around the io library()?
The exceptions are:
lua side - loadfile() and dofile().
Should these be file:load() and file:do() or io.load() and io.do() ?
C side -
luaL_loadfile() in lauxlib.c
and
readable() in loadlib.c
I think it would be nice if these exceptions did not exist.
Porting to Lua to systems with different file systems (or multiple file
systems) identifies these exceptions as a pain point. Anyone ideas
for improving this?
db