From: Francis W. <f.j...@li...> - 2025-03-29 15:37:33
|
I haven't thought about Web REDUCE for a while, but I guess it's time that I did! According to "/web/htdocs/web-reduce/README.md": 15 April 2024: The version currently on the REDUCE web site is the latest revision of REDUCE built using Emscripten 2.0.34, because I have had problems using later Emscripten versions. And the header displayed by Web REDUCE is Web REDUCE (6745), 2-Apr-2024 ... So "/csl/new-embedded/for-emscripten/Makefile" should reliably build REDUCE 6745 using Emscripten 2.0.34. If somebody with the appropriate expertise can get the latest version of REDUCE to build with the latest version of Emscripten then that would be great; please let me know how to do it! In the meantime, I have more or less decided to stay with the build that currently works, but to update the version of REDUCE, i.e. the packages directory. I think that should work although I haven't actually done it yet. Once you have built REDUCE, you can play around with it using Node.js or the web files in the for-emscripten directory. And, of course, you can play around with Web REDUCE. As for "known problems", I list some on the web site, but I'll try to say a bit more later when I have more time, maybe tomorrow. But a key problem is the inherent asynchronicity of JavaScript/WebAssembly. Francis ________________________________ From: Michael Shulman via Reduce-algebra-developers Sent: Friday, March 28, 2025 6:28 PM To: Arthur Norman Cc: red...@li... Subject: Re: [Reduce-algebra-developers] compiling, for javascript Thanks, that's very helpful! I assumed that because the github version describes itself as a 'mirror' it would have exactly the same code in it, but apparently not: I tried the svn version and it worked just fine (for the regular version). Now I want to try to build the emscripten version. I am looking at the instructions at https://sourceforge.net/p/reduce-algebra/code/HEAD/tree/trunk/csl/new-embedded/for-emscripten/ that are linked from https://reduce-algebra.sourceforge.io/web-reduce/about.php?start as "for details of how to build this version of REDUCE". But whenever I run any of the 'make' commands I get errors like make: *** No rule to make target 'allocate.o', needed by 'reduce.js'. Stop. I know you said that isn't your corner of the project, but maybe someone else can help me with this? |