Hi all,
I have now pushed to the JsSqueak github the last missing pieces, the
VMMakerJS changeset for generating the JsSqueak plugins, together with some
minimal instructions in the README.
It is not standalone, in that it uses method nodes that are pre-processed
the same way that regular (image-side) methods are before emitting the
non-plugin JavaScript code.
I have not tried it lately, but without pre-processing, at the vary least
GOTOs would remain in the code, and JavaScript does not have them.
Of course, while both image-side code and plugin code is translated to
JavaScript, the emitted code is quite different. The image side emits code
directly from the MethodNode tree, and uses yield* invocations, the plugin
code uses JSMethod (TMethod equivalents) and it has to transform
stack-passed arguments into regular arguments
Florin