-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execution #15
Execution #15
Conversation
* Add roadmap to README (#17) * Add roadmap to README * Small typo * Add felt documentation (#16) * Add Basic Types + Memory walkthrough to Write your own Cairo VM section (#8) * Add non c-specific project guidelines * Copy the rest of the file * Copy + adapt introduction * Copy doc in C repo PR * Replace relocatable structure with go structure * Make Relocatable fields public * Update MaybeRelocatable section with go version * Remove leftover comment * Update Memory structure * Add Insert code (minus temp segments comment) * Add Get code (minus temp segments comment) * Add MemorySegmentManager section * Add maybeRelocatable convenience methods * Add missing language keyword * Fix typo * fmt * Replace hashmap for map * Add `RunContext` & `VirtualMachine` structres to Write your own VM section (#12) * Add RunContext * Add VM structure * First draft OpcodeAssertions * First draft OpcodeAssertions * Testing * TestOpcodeAssertionsResUnconstrained * Testing * Mini improvment in README (#34) Co-authored-by: Pablo Deymonnaz <[email protected]> * Review PR #1 - Removes useless methods - Formats variables name - Removes useless pointers * Review PR #1 - Removes useless methods - Formats variables name - Removes useless pointers - Deletes again mock function - Rename function names * Removed error difference. --------- Co-authored-by: Javier Rodríguez Chatruc <[email protected]> Co-authored-by: fmoletta <[email protected]> Co-authored-by: Pablo Deymonnaz <[email protected]> Co-authored-by: Pablo Deymonnaz <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deductions are missing in the VirtualMachine.ComputeOperands
method. We can ignore the builtin's deductions for now, but the methods deduce_op0
, deduce_op
and deduce_dst
are part of the core execution process. We can add them in a separate PR if its too much code, but please add some TODO's in their place, and a comment on top of computeOperands stating that its not complete/operational till it is addressed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Co-authored-by: fmoletta <[email protected]>
Co-authored-by: fmoletta <[email protected]>
Co-authored-by: fmoletta <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
The pull request adds the logic of compute_operands function, besides several other functions for manipulation of maybe relocatable and relocatable