lua-users home
lua-l archive

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


4.1 Alpha is being shipped in the Xbox product, Amped: Freestyle
Snowboarding.  I haven't found any bugs in it, if that's what you mean.
4.1 Alpha is WAY better than 4.0, and it works in a multithreaded
environment.

Josh

> -----Original Message-----
> From: Matt Holmes [mailto:kerion@bellatlantic.net] 
> Sent: Monday, September 10, 2001 10:09 AM
> To: Multiple recipients of list
> Subject: Re: Parsing to byte code
> 
> 
> Thanks for the response :)
> 
> My last question for a while (no, really, I promise) is: how 
> stable is 4.1? I don't mind building Templar around 4.1, as 
> long as its semi-stable and the API is not going to change 
> drastically between now and 4.1 release.
> 
> Matt
> 
> ----- Original Message -----
> From: "Luiz Henrique de Figueiredo" <lhf@tecgraf.puc-rio.br>
> To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
> Sent: Monday, September 10, 2001 11:53 AM
> Subject: Re: Parsing to byte code
> 
> 
> > >In my MUD engine, when a script file is loaded, I would like to
> "pre-parse"
> > >it to byte code, before the engine it self ever attempts to run it.
> >
> > With Lua 4.1, use lua_loadfile instead of lua_dofile.
> > With Lua 4.0, write your scripts as "return function () XXX end", 
> > where
> XXX
> > is your original script, run dofile on this and get return value.
> >
> > If you want to save pre-compiled scripts, use dump in 4.1 (see
> src/luac/dumplib).
> > --lhf
> >
> 
>