----- Original Message ----- From: "Erik Hofman" <[EMAIL PROTECTED]> To: "FlightGear developers discussions" <[EMAIL PROTECTED]> Sent: Saturday, November 15, 2003 3:55 AM Subject: Re: [Flightgear-devel] automake question
> Andy Ross wrote: > > John Barrett wrote: > > > >>I've got some code from another project that I'm trying to hook into > >>FG... > >> > >>[which turns out to be:] > >> > >>I'm integrating the SpiderMonkey JS engine > > > > > > Into the client? Yikes. There was a big flame war the last time this > > was mentioned. That interpreter is almost bigger than the rest of > > FlightGear. Please investigate PSL first (or Nasal, but I won't push > > :) > > > Correct. I had it working, but no one was interested. It might make > sense to spent the time on either one of them. > > BTW. Does Nasal work like PSL, int that one has to initiate each step? > > I've done a script manager for PSL that I've laying around somewhere > that would allow multiple scripts to work simultaneously and can expand > over multiple frames (instead of needing to run the whole script in one > frame timespan). That could do the trick -- would just need to add code to handle instancing new script entities as procedures are invoked, and some preprocessing to translate FGScript (or whavever it ends up being called) in appropriate script fragments to run in that environment. Only real problem then would be event handler stacking... would have to think about how to prevent "older" events from being processed if there were a newer event based on the same, or a similar trigger. Did your script manager run the framents in the same context so they shared data ?? I'd like to see it... see if it can be adapted to what I'm trying to accomplish... Until then, I'll keep going with JS as I know it has the abilities I need, with the usual configure option for those that dont want the code bloat incurred by libjs :) No flame war needed... I'm doing it, use it or not, your choice :) (From a hotel somewhere in nashville, TN on the hotel's wireless lan :) _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
