Skip to content

Vector literals in programs #16

@erp12

Description

@erp12

Now that all Plushi programs are linear, we can technically support vector type literals in the programs in JSON lists.

When Plushi is parsing the vector literal, it should check the push type of all elements. If they are all the same, create a push-vector of that type. Otherwise fall back on a code-vector push type.

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