gamesys / moonshine

A lightweight Lua VM for the browser
http://moonshinejs.org
MIT License
502 stars 35 forks source link

DumpSizeT should not always dump an 8 byte integer #37

Closed cntkillme closed 7 years ago

cntkillme commented 8 years ago

If size_size_t is 4, only 4 bytes should be dumped.

paulcuth commented 7 years ago

Thank you for this and apologies for the delay. Yueliang is a third-party project, so it might be worth contributing there too. However, a brief seach didn't reveal a repository to which to point you.

It's worth noting that in-browser execution of Lua source code is now possible via the Starlight project (which shares some code with Moonshine): http://starlight.paulcuth.me.uk