Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An Actionscript 3 to haXe source converter written in Haskell
Haskell ActionScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ActionhaXe
System/Console
definitions
samples
.gitignore
LICENSE
Lexitall.hs
Parseit.hs
README
Tokenize.hs
as3tohaxe-mac.zip
as3tohaxe.hs
build

README

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: 
http://www.github.com/geekrelief/as3tohaxe
http://geekrelief.wordpress.com

-- 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 --
Requirements 
- The source http://www.github.com/geekrelief/as3tohaxe
- GHC (6.10.1, 6.8.3) http://www.haskell.org/ghc/
- Cabal (1.6.0.1) for parsec http://www.haskell.org/cabal/
- parsec 3 http://hackage.haskell.org/cgi-bin/hackage-scripts/package/parsec

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.