I did take a look at the version of the
⎕FX stuff that is in the source right now, and I can see that your approach is similar to that of JNI, the native interface for Java. I.e. you write some native code that acts as glue to integrate the underlying native library with the APL runtime.
My problem is that it's more complicated (although not impossible) to build an Emacs module with native code dependencies. There are very few such modules, and I don't know of a standardised way of distributing these. It would certainly add a lot of complexity to the install process (a process which is very simple right now, which is why I would love to be able to keep it as such).
I'm not entirely sure what I'm asking of you. :-) I mean, it kind of works now, given the caveats I mentioned (in particular, never use any features that talk to the runtime unless the commandline is at the ready prompt). I guess I'm just trying to highlight the situation I'm in right now. I'll use whatever features you decide yo build into the runtime.
Regards,
Elias