If someone is already working on this, I doubt I could contribute much. I'm going to use AngelScript for pretty much all scripting for a game. The funny thing is that the current working name is AngelScreams :). The main reason for compilation (besides speed) for me is to hide the actual source and prevent users from modifying scripts. Thanks for such a nice scripting language, I was about to use tcl until I found this. --- Andreas Jonsson <angelcode@xxxxxxx> wrote: > It is being worked on by another programmer, and if his solution works to m= > y liking I will include it in AngelScript. However, if you are interested= > in trying as well that would be ok. Perhaps you and the other programmer= > (if he wishes to) can share some ideas or work together. > > For it to work you would have to save the script functions stored in the en= > gine, and also the system function declarations registered by the applica= > tion so that at a later time the configuration can be compared with the a= > ctual configuration at load time. I think it would be suficient to make a= > simple check to see if the system functions have been declared in the sa= > me order (so that call indexes match), and if not the load fails. A more = > advanced load could try and reorder the call indexes and perhaps check fo= > r missing functions. > > Regards, > Andreas Jonsson > Author of AngelScript > www.AngelCode.com > > -----Original Message----- > From: Dennis Bollyn <gyrbo@xxxxxxxxx> > To: angelscript@xxxxxxxxxxxxx > Date: Wed, 3 Mar 2004 08:38:02 -0800 (PST) > Subject: [angelscript] One-time compile > > Are there are plans for a seperate compiler? Instead of compiling at runtim= > e, you would compile > the script beforehand and only execute the remaining bytecode. > > I have tried looking at the source, but it seems very complex to me. I'm gu= > essing > asCScriptEngine::scriptFunctions has to be dumped to a file? > > I'm willing to work on this, but I need some pointers as where to start. > > Thank you, > Dennis Bollyn > > =3D=3D=3D=3D=3D > > > __________________________________ > Do you Yahoo!? > Yahoo! Search - Find what you=92re looking for faster > http://search.yahoo.com > > AngelScript - AngelCode Scripting Library > http://www.angelcode.com/angelscript/ > > > > > AngelScript - AngelCode Scripting Library > http://www.angelcode.com/angelscript/ ===== __________________________________ Do you Yahoo!? Yahoo! Search - Find what you?re looking for faster http://search.yahoo.com AngelScript - AngelCode Scripting Library http://www.angelcode.com/angelscript/