I was using Lua for my final year project, but found some bugs with the Pluto library on 64-bit systems.
Pluto lets you serialise almost any Lua object into a flat representation; tables, functions, even coroutines, which allowed me to recreate continuations in Lua, albeit with some limitations.
However, the library seemingly hadn’t been updated since early 2010, and there were a few problems. Digging on the lua-users mailing list I found that someone else had taken over maintenance and posted the code on github. If I’d found this earlier it would’ve saved me a lot of time!
Hopefully future users can find it more quickly: Pluto - Heavy Duty Persistence for Lua