lua-users home
lua-l archive

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


>>>>> "Brownsword," == Brownsword, Andrew <ABrownswor@ea.com> writes:

    Brownsword,> On a related note: Is it normal operating procedure
    Brownsword,> for people to store their programs as strings, or as
    Brownsword,> pre-compiled bytecode?  I have space and load time
    Brownsword,> concerns and would rather not keep the source files
    Brownsword,> around, if at all possible.  If stored as bytecode,
    Brownsword,> is there any support for handling byte-ordering
    Brownsword,> issues? [...]

Apparently the lua_dostring accept a compiled bytecode string
(compiled with luac). 

Compiled strings starts with the ESC character.

-- 

Basile STARYNKEVITCH         http://starynkevitch.net/Basile/ 
email: basile<at>starynkevitch<dot>net 
alias: basile<at>tunes<dot>org 
8, rue de la Faïencerie, 92340 Bourg La Reine, France