ActionScript -> Monkey translator

Monkey Archive Forums/Monkey Discussion/ActionScript -> Monkey translator

Arthur(Posted 2012) [#1]
Had anyone thinked about making translator from ActionScript to Monkey code?
Is it possible?

Maybe someone already working on it?

therevills(Posted 2012) [#2]
Mojo only has a subset of commands of the target languages, so to convert AS to Monkey you would need to limit the number of commands you use in AS. Which to me defeats the purpose.

Arthur(Posted 2012) [#3]
Main purpose is to make translator for game logic code. We have social game in development, that is written in ActionScript and need to be ported on mobile platforms.
Adobe Packager tool can't provide good performance.

Of course all drawing stuff must be switched to Mojo version by manual rewriting some classes. No vector drawing etc.
But 1-st goal is to make auto translator for game logic part of code (above 1 MB of code currently).
We already have almost done syntax tree builder of AS3 code. But maybe someone had already done such thing and open sourced it, so we can cut the corners and speed up our process :)