Skip to content
github-actions[bot] edited this page Aug 9, 2026 · 4 revisions

ax4 documentation

This documentation is for users migrating ActionScript 3 projects to Haxe with ax4.

Start here

  1. Read Quickstart
  2. Prepare your config.json using Config reference
  3. Compare with Examples
  4. If conversion fails, check Troubleshooting
  5. After a run, read the diagnostics summary — see Diagnostics

Technical references

Scope

ax4 behaves more like a compiler than a text converter:

  1. Parse AS3 syntax (ParseTree)
  2. Load SWC declarations
  3. Resolve symbols and types (TypedTree)
  4. Run filter pipeline
  5. Generate Haxe modules

The main pipeline lives in src/ax4/Main.hx.

Clone this wiki locally