Skip to content

compile ActionScript3 codebase to TypeScript

Notifications You must be signed in to change notification settings

jygao/as3-to-typescript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#as3-to-typescript

A tool that helps porting as3 codebase to typescript

##Installation

Install this module with npm:

npm install -g as3-to-typescript

##Usage

as3-to-typescript <sourceDir> <outputDir>

##Note

This tool will not magicly transform your as3 codebase into perfect typescript, the goal is to transform the sources into syntacticly correct typescript, and even this goal is not perfectly respected. It also won't try to provide javascript implementation for flash libraries.

However unlike most attempts that I have seen this tool is based on a true actionscript parser, and so should be able to handle most of as3 constructs and greatly ease the pain of porting a large code base written in as3 to typescript.

About

compile ActionScript3 codebase to TypeScript

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 50.7%
  • TypeScript 49.3%