lua-users home
lua-l archive

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

You should be able to use localStorage normally, through, basically like any other DOM property that lua.vm.js makes available to Lua.

All the default Lua libraries should be enabled in that build. If they use stdio to do stuff, then that turns into operations on an emulated filesystem in memory. So it wouldn't last beyond the current session, but we could add an option to save it to localStorage if that is useful.

- Alon

On Fri, May 31, 2013 at 12:41 AM, Pierre Chapuis <> wrote:
Interesting. How do you deal with I/O, using localStorage? Is the io
library available?

Pierre Chapuis