Abstract Extension

Abstract ActionScript 2 (AAS2) is a language that is a superset of regular ActionScript 2. It adds extra features to be able to represent all bytecode operation of the ActionScript Virtual Machine.

Because any AVM1 bytecode has a corresponding AAS2 source text, it serves as a high-level representation of the underlying bytecode and can be used for decompilation.

Memory

AAS2 exposes the different types of memory available to AVM1 byte code:

Builtins

AAS2 provides syntax to access AVM builtins unambiguously, without any risk of name shadowing.

Statement

TODO