Skip to content

Typing of instructions and programs should be uniform? #2

Description

@CoinFormalizer

Right now instructions are typed against a stack, while programs are not:

Inductive has_prog_type : program -> instr_type -> Prop :=

with has_instr_type : instr -> stack -> instr_type -> Prop :=

My opinion is that they should be typed the same way, and I lean towards both without a stack, but I think this needs more discussion.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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