Skip to content


Subversion checkout URL

You can clone with
Download ZIP
An Actionscript 3 to haXe source converter written in Haskell
Haskell ActionScript Haxe
Latest commit 32a0b85 @geekrelief last maintenance update


as3tohaxe - An Actionscript 3 to haXe source file converter written in Haskell
Copyright (C) 2008-2009 Don-Duong Quach

This is NOT a complete converter.  It is not possible for haXe to override the
getters and setters of native Flash classes (e.g. Sprite), so converting your
as3 code to haxe completely is not possible as far as I know.  

So I stopped working on the project, but the code and executable may still be 
useful to someone.

For more info check visit:

-- Running --
Type 'as3tohaxe' and a directory or file to convert.  
A directory named "hx_output" will be created in the current
directory if necessary.  The supplied ".as" files will be 
translated into haxe files and stored there.  If the command
is run more than once, and pre-existing files will be overwritten.

-- Binary --
Binaries for Mac OSX Leopard and Windows are available under 
the Files section of the as3tohaxe google group.

-- Compiling --
- The source
- GHC (6.10.1, 6.8.3)
- Cabal ( for parsec
- parsec 3

Compile with: ghc --make -XDeriveDataTypeable as3tohaxe.hs
or the './build' script

-- License --
This program and its source is GPL licensed.  Please read the LICENSE
for more details.
Something went wrong with that request. Please try again.