Hi Mike,

On Thu, Dec 20, 2012 at 7:23 PM, Michael Schmalle
<apa...@teotigraphix.com>wrote:

> I'm probably in the position of, "Show me what you want to generate based
> on the semantics involved and I will generate it" mode.


that was exactly what my proposal was aiming at! It sounded like once you
are done with generating ActionScript from ActionScript ;-), you'll need a
target JavaScript format to generate.
One source for that is the AS->JS map in the Wiki that Erik created and I
commented.
But the source for the overall class structure must be something else. Like
in Erik's proposal for using "goog", I now came up with a concrete example
of what the JavaScript output for a certain (prototypical) ActionScript
input should look like. I just thought that example help more than a
"format spec". So by looking at
http://fwienber.github.com/as-js-runtime-prototype/index.html, you can
directly compare ActionScript source showcasing all relevant language
feature and the corresponding JavaScript output. You can safely ignore all
the require.js, shim.js, defineClass/Interface.js stuff. Just concentrate
on A.as versus A.js, B.as versus B.js, I.as versus I.js etc.

That said, it would be great if you could make the FalconJx prototype spit
out JS code like the one on my example!

Concerning using "goog" or not, please stand by for my response to Erik's
post.

Greetings
-Frank-

Reply via email to