JS engine(s) provided by gnustep

2023-09-09 Thread loserism
Hello friends. I'm trying to use JavaScriptCore through gnustep and found that gnustep doesn't find JavaScriptCore, does anyone know how to fix it? I know I can use other third party js engines, but I only want to use the interface provided by Apple, does gnustep provide an implementation of th

Re: JS engine(s) provided by gnustep

2023-09-10 Thread H. Nikolaus Schaller
SimpleWebKit had all WebView interfaces to call JS and itself contains some incomplete JS (ECMA-Script) interpreter. There wasn't much activity (besides Riccardo) from the community to work on this framework and make it more useful and for example provide the JSVirtualMachine class. Key questi

Re: JS engine(s) provided by gnustep

2023-09-10 Thread David Chisnall
Hi, As far as I know, no one has ported JavaScriptCore to GNUstep. It might not be a huge amount of work but that last time I looked at it (ten or so years ago) the build system for JSC conflated a lot of things in the Apple paths that would need disentangling if you want the Cocoa bits but ELF

Re: JS engine(s) provided by gnustep

2023-12-13 Thread Riccardo Mottola
Hi Nikolaus, H. Nikolaus Schaller wrote: SimpleWebKit had all WebView interfaces to call JS and itself contains some incomplete JS (ECMA-Script) interpreter. what do you think of integrating a light-weight JS interpreter library? I wonder if at the backend of the parser this can be easily in

Re: JS engine(s) provided by gnustep

2023-12-13 Thread H. Nikolaus Schaller
Hi Riccardo, SimpleWebKit has its own JS interpreter (ECMA-Script)... https://git.goldelico.com/?p=swk.git;a=blob;f=Sources/ECMAScriptParser.h;h=df2117b53feb6bbc107ffe03a51d26a4ef57c321;hb=18944b0223a4a85c7f338f8dacce071f7fb0d97e The main missing thing is how to manipulate the DOM tree objects

Re: Re: JS engine(s) provided by gnustep

2023-09-10 Thread loserism
Thank you for your efforts, your answer was exactly what I was expecting. > Hi, > > As far as I know, no one has ported JavaScriptCore to GNUstep. It might not > be a huge amount of work but that last time I looked at it (ten or so years > ago) the build system for JSC conflated a lot of thing