Skip to content

FAF-Lua Version support #1

@ChessBerry

Description

@ChessBerry

Add support for the FAF version of the lua language as specified in https://github.com/FAForever/lua-lang/blob/lua-5.0/HISTORY

The length operator # doesn't exist in the FAF version of the lua code as it was implemented in lua 5.1 according to Jip.
Also I implemented the BOM '#**' as a line comment for now, which should(?) be changed later.

Implemented everything from https://github.com/FAForever/lua-lang/blob/lua-5.0/HISTORY besides "the operator ^ means xor instead of pow" and the BOM mentioned above. Seemingly the ^ operator is used as exponentiation in some lua files though, so I don't know what to think/do with that.

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