bp74 / StageXL

A fast and universal 2D rendering engine for HTML5 and Dart.
http://www.stagexl.org
Other
880 stars 82 forks source link

AS3 -> StageXL converter #21

Open yissachar opened 11 years ago

yissachar commented 11 years ago

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.

bp74 commented 11 years ago

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

yissachar commented 11 years ago

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!

bp74 commented 10 years ago

Finally someone started to work on it - yeaaahhh!!

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

yissachar commented 10 years ago

:+1:

bp74 commented 10 years ago

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