I experimented with it about 5 years ago and had some fun with it: Here are some repos:
https://github.com/joebo/j-emscripten-src https://github.com/joebo/j-emscripten -> https://joebo.github.io/j-emscripten/ The interface was more so for mobile, but you can see an example of interop with 'drawRect' (15!:0) (10,10,10,10) The mailing list archive has some posts on it: https://www.jsoftware.com/cgi-bin/forumsearch.cgi?all=emscripten&exa=&one=&exc=&add=&sub=&fid=&tim=0&rng=0&dbgn=1&mbgn=1&ybgn=1998&dend=31&mend=12¥d=2020 I haven't looked at it in a while so I am certainly rusty on how it all works but the j-emscripten-src repo above had some working instructions on how to build it at the time On Sun, Nov 29, 2020 at 2:47 PM emacstheviking <[email protected]> wrote: > Greg, > the 'vision' would be to be able to not only create J code that runs in the > browser, but one that has full DOM, Canvas, WebGL capability etc. For the > web assembly version I don't think that the current set of "!" features > need all be present especially if the JS interface was fluid enough and > powerful enough. > > I am def. going to start looking into this as a retirement project. I > should be so lucky... > > > > On Sun, 29 Nov 2020 at 16:48, greg heil <[email protected]> wrote: > > > >>no, favoring emacs over vi is the most insane thought > > > > >Now, now no editor wars on Jprograming. Personally i prefer QED ... but > i > > have not seen an implementation since QUED. Maybe Joey can update us... > in > > JCHAT! > > > > >As to a web assembly version... a great idea! Especially if one can > bring > > the full capabilities of the native Javascript through. It should be > > maintained by > > jsoftware.com alongside of their releases for the likes of Android, Pi > etc > > > > >Joe Bogner has a great sifting to Javascript with Emscriptem and said he > > was interested in a WA version. Hopefully he can chime in with updates. > > > > ~greg > > https://picsrp.github.io > > > > -- > > > > from: Hauke Rehr <[email protected]> > > to: [email protected] > > date: Nov 29, 2020, 5:16 AM > > subject: Re: [Jprogramming] J and Web Assembly > > > > >no, favoring emacs over vi is the most insane thought > > > > -- > > > > from: emacstheviking <[email protected]> > > to: [email protected] > > date: Nov 29, 2020, 3:56 AM > > subject: [Jprogramming] J and Web Assembly > > mailing list: Programming forum > > > > > > >Anybody even tried this? > > > > >I have spent an hour reading the web assembly docs and I don't see why > it > > couldn't be done apart from the !: commands which could be problematic. > > > > >I'm seeing a 'core' of the J language that provides basic language > > capability and then uses the WA interface to providea JS way to call > JInit > > and JDo. > > > > >Mad idea? > > > > >I am def. going to investigate more over the coming weeks. I have a > > custom build of J on my iMac but I think it used gcc rather than clang > > which is what's required by the LLVM translation process. > > > > >This could be my most insane thought this weekend.... > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
