Actionscript 3 to haXe!

Posted on October 1, 2008. Filed under: Uncategorized | Tags: , , , |

So after a couple of months of study, I finally put together my first Haskell project, as3tohaxe, an Actionscript 3 to haXe converter. And now it’s up on github for everyone. The code is a mess because I’m still green with Haskell (and haXe!). It’s just a start, but I hope to continually improve the translator as I work on my haXe projects.

Here’s what it can do so far:

  • converts basic types int to Int
  • cleans up the package braces
  • renames the constructor to new or main
  • converts default arguments
  • moves member variable initializers into the constructor
  • converts access control attributes (e.g. protected to public)
  • and more eventually

Parsing expressions is on the todo list.

Advertisements

Make a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

2 Responses to “Actionscript 3 to haXe!”

RSS Feed for Blazing Bytes Comments RSS Feed

hi,
what is the best place to discuss as3tohaxe issues?
thanks
ben

hey ben,

I’ve created this google group, http://groups.google.com/group/as3tohaxe, and sent you an invitation.

Thanks.


Where's The Comment Form?

Liked it here?
Why not try sites on the blogroll...

%d bloggers like this: