StageXL icon indicating copy to clipboard operation
StageXL copied to clipboard

AS3 -> StageXL converter

Open yissachar opened this issue 12 years ago • 5 comments

Is there any automated way to convert AS3 code to StageXL? I know it may be impossible to do a 100% automatic conversion, but given how similar the two are I would figure that it should be feasible to convert 90%+ automatically and the rest by hand.

There are a huge number of existing opensource libraries for AS3 that are very useful and porting them manually would be tedious and time consuming. Dart itself has a similar problem regarding JavaScript libraries but it has the JS interop bridge to mitigate the issue. Having a AS3 converter would greatly help porting existing codebases to StageXL.

yissachar avatar May 22 '13 17:05 yissachar

Hi,

I was thinking about the same before and it would be a great help if such a tool would exist. You are right that such a tool should be able to translate most of the AS3 code to Dart code automatically. Currently i'm pretty busy with the StageXL library itself so i don't have much free time for such a tool. Maybe you are interested in starting this project here on GitHub? Of course i would promote it on the StageXL page.

Bernhard

bp74 avatar May 22 '13 17:05 bp74

OK, I have no experience with language conversion but I guess now is a good time to start learning and see what's possible :)

Thanks for your work on this great project, I'm really excited to play around with it!

yissachar avatar May 22 '13 17:05 yissachar

Finally someone started to work on it - yeaaahhh!!

https://groups.google.com/a/dartlang.org/forum/#!topic/misc/wUiTbIhadT8

bp74 avatar Aug 18 '14 09:08 bp74

:+1:

yissachar avatar Aug 18 '14 15:08 yissachar

https://github.com/blockforest/actionscript-to-dart-project

bp74 avatar Aug 21 '14 08:08 bp74