Shane, It sounds like the answer is that it's feasible, but requires some work. I could probably build a C/C++ app, but I'm not up to refactoring, etc. I'll look forward to trying it out if/when it reaches fruition.
-Alan On 11/30/2016 7:18 AM, Shane Mueller wrote: > Alan, > > I was able to get PEBL compiled via emscripten, circa 2013/14 maybe. > Because of the execution model within javascript, this meant reworking > the evaluator stack to be non-recursive, and this worked fine. But > compiling doesn't equate to 'working'. There were some problems with > the maturity of the SDL front-end libraries for emscripten which made > it difficult to work around easily, and additionally some issues in > interactivity--collecting responses, etc., that will require a similar > refactoring of a handful of functions, especially the event loop. This > is because javascript needs it to be 'reentrant', and PEBL is not. I > was able to display simple screens and imagery in a browser, but > decided that I needed to port PEBL to SDL2 before trying again. Now > that this is done, I'm interested in revisiting this, as the emscripten > library support for 2.0 is supposedly better, and the whole emscripten > toolset is much more mature now. I agree that this would be huge, and > the data storage/server capabilities could be adapted from a number of > other toolkits if it gets to that point. I'll be looking for ways to > make this happen now that 2.0 final is near release, and am willing to > help out anyone who can round up a capable c++ programmer who is > interested in getting this to work. > > Shane > > -- Alan D. Mead, Ph.D. President, Talent Algorithms Inc. science + technology = better workers +815.588.3846 (Office) +267.334.4143 (Mobile) http://www.alanmead.org I've... seen things you people wouldn't believe... functions on fire in a copy of Orion. I watched C-Sharp glitter in the dark near a programmable gate. All those moments will be lost in time, like Ruby... on... Rails... Time for Pi. --"The Register" user Alister, applying the famous "Blade Runner" speech to software development ------------------------------------------------------------------------------ _______________________________________________ Pebl-list mailing list Pebl-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pebl-list