Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Typing of instructions and programs should be uniform? #2

Open
CoinFormalizer opened this issue Nov 2, 2016 · 0 comments
Open

Typing of instructions and programs should be uniform? #2

CoinFormalizer opened this issue Nov 2, 2016 · 0 comments

Comments

@CoinFormalizer
Copy link

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant