Skip to content

Add labels to expressions #47

@kenje4090

Description

@kenje4090

Add labels to expressions instead of referring to line numbers.

like "insert label"
Then we allow "jmp to label" and a way to get all possible labels.
A label can be an int, but if the label appears twice, then use the first one or something or can force the label to be unique.

Reason:
If we have 6 expressions and jmp, and we insert expression a relative jmp will be screwed up because there are 7 expressions now
so insertion will break the jmp and so on.
but if we have a "jmp to label" then insertion will be fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions