Subj : Menushell.js
To   : Nightfox
From : Digital Man
Date : Mon Aug 24 2020 08:09 pm

 Re: Menushell.js
 By: Nightfox to Digital Man on Mon Aug 24 2020 06:34 pm

>   Re: Menushell.js
>   By: Digital Man to Nightfox on Mon Aug 24 2020 04:08 pm
>
>  >> experienced with interacting with a web page DOM using JS.  However I
>  >> have embedded JS into a couple of C++ projects at one of my previous
>  >> jobs, which was interesting.
>
>  DM> Cool - which JS engine/library did you/they use?
>
> It was the Mozilla JavaScript engine.  Initially I tried using Google's JS
> engine, but it seemed a bit complicated to embed.  Then I looked at
> Mozilla's JS engine (I was inspired to use it due to Synchronet), and I was
> able to embed Mozilla's JS engine into a couple of C++ test applications.

Cool. What version of SpiderMonkey, if you remember?

I embedded SpiderMonkey into a set-top box test application (at work) with a web UI back in the early 2000's, about the same time I chose it for Synchronet's FTP server and eventually everything else.

And now, I think it's about time to remove JS support from Synchronet's FTP server! :-)

> We also had a version of that project supporting iOS and Mac OS X, and we
> found that Apple's XCode included an embedded JS engine, so we used Apple's
> included JS engine for that stuff.  I don't remember if that JS engine was
> made by Apple or if they had included another JS engine.  It may have been
> Google's JS engine or Mozilla, but I don't remember for sure.

Ah, cool. I might take a look at v8 again, but I'm planning to update to the latest SpiderMonkey at some point, which is expected to be painful.

                                           digital man

Sling Blade quote #19:
Doyle: I can't so much as drink a damn glass of water around a midget
Norco, CA WX: 79.0�F, 62.0% humidity, 9 mph NE wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net