lua-users home
lua-l archive

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


>Is there a document somewhere listing the Lua bytecodes?

lopcodes.h, not realy a document, but it does list all opcodes and their
meaning.

>It may be possible
>to re-write the VM for other platforms using that. I know it sounds funny,
>but I'd like to see my C64 take a whack at it (and I'm not kidding -- people
>surf the Web with C64s, so I don't see why they can't run simple Lua
>programs, either). I could just take the binary from the compiler and then
>run it through this cloned VM, hopefully.

Aren't there C compilers for the C64? A re-write of the VM, as you call it,
would be a complete implementation of Lua, perhaps including the libaries too.
Not a llight job, but you're welcome to try it...
--lhf