Hi all,
I've been really busy, but I've taken some time to work out
a new
version of this tool. The previous incarnation was based
upon
something else I wrote that really wasn't intended to parse
code
properly, so was very prone to error.
I have moved to a parser model (based off of the work done
by the guys
on the ASDT project), which in effect compiles AS2 code into
HaXe.
This is far less error-prone, but also a bit trickier. The
current
version of the tool has some undesirable effects, like
stripping out
comments (this *will* be fixed) and re-arranging the order
of fields
and methods in types.
But I think we have the start of a great conversion tool,
but at this
point I could _REALLY_ use some help. The code is not very
difficult
to understand, and I would be happy to explain it in depth
to anyone
who was interested.
If you want to check out the latest version, which comes
with all
dependencies and an example project to convert, download it
from:
http://code.google.com/p/actionscripttohaxe/downloads/
list
By the way, if anyone on the ASDT team is reading this, I'm
perfectly
willing to give up all the work I've done (ASANTLRParser
does way
more, improved visitor support, full DOM coverage). Also, I
think I
may in violation of your license right now (oops!), but I'd
be happy
to work that out.
Scott
--
haXe - an open source web programming language
http://haxe.org
|