Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Convert Java sources to Actionscript 3
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Convert Java source code to ActionScript 3 * Convert java syntax to ActionScript syntax (i.e. 'int i=0;' becomes 'var i:int=0;' * Convert basic java objects to ActionScript equivalents (native types, String, Exception, Map, etc.) * Convert overloaded methods to "uniquely named" methods (original-name$hash) * Convert variable names that are ActionScript reserved words to non-reserved words (i.e. 'in' becomes 'jas$in') * etc. To build, just run ant. A single "executable" jar file will be produced, that can be run as: java -jar Java2AS3.jar -i <java-source-dir> Where <java-source-dir> is a folder containing the original java source code. After building you can run some tests as: ant test The resulting ActionScript files are in the as3 folder.