[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: os.setenv()???
- From: David Burgess <dburgess@...>
- Date: Sat, 7 Jan 2006 21:34:06 +1100
In the spirit of lua, a compiler independent solution would be nice.
Yes, you are correct it would mostly a posix subset.
Diego confirms that he too writes a directory iterator.
DB
On 1/7/06, Ryanne Thomas Dolan <rtdmr6@umr.edu> wrote:
> Sorry, I am confused then; I thought there were already several
> non-standard libraries that implemented this functionality, ex LuaCheia.
> What is it you think is missing?
>
> If you were to make your own library, it wouldn't be much harder than
> exporting a subset of POSIX to Lua and compiling the source with
> gcc/mingw. That should take care of nix/win32/mac. A library that did
> anything more than this would be redundant I think, since you would be
> re-implementing a lot of POSIX-like functions on windows, which has
> already been done rather nicely by mingw.
>
> Assuming they are written well, it should be trivial to port any Lua
> POSIX library to windows or mac.
>
> On Sat, 2006-01-07 at 00:14 -0500, Diego Nehab wrote:
> > Hi,
> >
> > > You misinterpret my intent. I propose a lightweight extension library
> > > that is not part of the "standard" library.
> > > And no I dont see this as python or perl competitior. Just extending
> > > the Lua offering.
> >
> > I agree. It wouldn't be distributed with Lua, and wouldn't stop anyone
> > from using Lua when the library isn't supported.
> >
> > I think this is important. I have almost implemented a multi-purpose
> > directory listing function myself. Would be a cool iterator.
> >
> > This month is pretty bad for me (SIGGRAPH), but next month I will be in
> > Brazil...
> >
> > Regards,
> > Diego.
> >
>