Add accepted types to operator declarations. Check opcode numbering. #160

Merged
zxq9 merged 4 commits from PT-164597753-add-types-to-op-defs into master 2019-05-24 20:21:50 +09:00
zxq9 commented 2019-05-24 15:52:41 +09:00 (Migrated from gitlab.com)

Created by: happi

Added types for arguments and results of opcodes.
For now for documentation purposes.

We could add a type check pass to check that the code is type correct. This could be a utility function one could use to check the bytecode before doing a create call transaction.
Thoughts?

I would also appreciate comments on the "type language". For now there are no type variables and all lists, tuples and maps are of the same type.

*Created by: happi* Added types for arguments and results of opcodes. For now for documentation purposes. We could add a type check pass to check that the code is type correct. This could be a utility function one could use to check the bytecode before doing a create call transaction. Thoughts? I would also appreciate comments on the "type language". For now there are no type variables and all lists, tuples and maps are of the same type.
gorillainduction (Migrated from gitlab.com) approved these changes 2019-05-24 15:52:41 +09:00
zxq9 commented 2019-05-24 17:49:54 +09:00 (Migrated from gitlab.com)

Created by: hanssv

Review: Approved

*Created by: hanssv* **Review:** Approved
gorillainduction commented 2019-05-24 20:02:15 +09:00 (Migrated from gitlab.com)

approved this merge request

approved this merge request
zxq9 commented 2019-05-24 20:21:50 +09:00 (Migrated from gitlab.com)

Merged by: happi at 2019-05-24 11:21:50 UTC

*Merged by: happi at 2019-05-24 11:21:50 UTC*
Sign in to join this conversation.
No description provided.