lua-users home
lua-l archive

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


Hi,

I'm not sure I understand what you mean by bytecode in preprrocessed form. For "regular" bytecode you can use a simple lua_open/luaL_loadbuffer/lua_pcall sequence, giving luaL_loadbuffer the address of the bytecode in memory.
Does this answer your question, or (as I suspect) I'm missing something? :)

Best,
Bpgdan

On Wed, Jan 14, 2009 at 6:59 PM, Fabien <fleutot+lua@gmail.com> wrote:
I was wondering: 

how hard it woud be to run Lua functions whose bytecode is stored in Flash (possibly in a preprocessed form)? 

Bogdan, have you considered this?

-- Fabien.