Skip to content

Allow SWF version selection #7

@Dinnerbone

Description

@Dinnerbone

This should be a CLI/API option, with the default being probably SWF 43 (FP 32).

We'll need to check the version during lexing, parsing and codegen - as it restricts which keywords are available, which syntax works, and which action bytecode is supported.

One notable example is that add is a valid keyword prior to SWF 8, e.g. a add b. From SWF 8 onwards, add is no longer a keyword and is a valid identifier instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions