lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It would be great if the settings from luaconf.h were available in
Lua. For example, one could write:

-- like Perl's File::Spec::catfile
function catfile (...)
  return table.concat ({...}, LUA_DIRSEP)
end

Of course, it would be easy to write a luaconf Lua binding, but it
seems an obvious thing for Lua itself to do.

-- 
http://rrt.sc3d.org