Advanced BOOLEAN Stack Manipulation and Utilities #13

Open
opened 2024-12-24 14:39:23 +00:00 by giteadmin · 0 comments
Owner

Scope

  • Implement BOOLEAN.ROT: Rotate the top three BOOLEANs on the stack.
  • Implement BOOLEAN.SHOVE: Insert the top BOOLEAN at the position indexed by the top INTEGER.
  • Implement BOOLEAN.YANK: Remove an indexed BOOLEAN from deep in the stack and push it on top.
  • Implement BOOLEAN.YANKDUP: Push a copy of an indexed BOOLEAN onto the top of the stack without removing it from its original position.
  • Implement BOOLEAN.DEFINE: Define a new instruction that pushes the top BOOLEAN onto the EXEC stack.
  • Implement BOOLEAN.RAND: Push a random BOOLEAN onto the stack.

reference: https://faculty.hampshire.edu/lspector/push3-description.html

Deliverables

  • Updated stack machine code supporting advanced BOOLEAN stack manipulation and utilities.
  • Unit tests for all advanced operations, ensuring correct behavior with various stack configurations.
  • Documentation explaining the purpose and usage of each advanced operation.

Bounty Owner/Gardener

@giteadmin

Roles

bounty gardener: @giteadmin / 120 DAI
bounty worker: name / 80%
bounty reviewer: name / 20%

Gardener checklist

  • I have attached one of the size- labels to this bounty
## Scope - Implement BOOLEAN.ROT: Rotate the top three BOOLEANs on the stack. - Implement BOOLEAN.SHOVE: Insert the top BOOLEAN at the position indexed by the top INTEGER. - Implement BOOLEAN.YANK: Remove an indexed BOOLEAN from deep in the stack and push it on top. - Implement BOOLEAN.YANKDUP: Push a copy of an indexed BOOLEAN onto the top of the stack without removing it from its original position. - Implement BOOLEAN.DEFINE: Define a new instruction that pushes the top BOOLEAN onto the EXEC stack. - Implement BOOLEAN.RAND: Push a random BOOLEAN onto the stack. reference: https://faculty.hampshire.edu/lspector/push3-description.html ## Deliverables - Updated stack machine code supporting advanced BOOLEAN stack manipulation and utilities. - Unit tests for all advanced operations, ensuring correct behavior with various stack configurations. - Documentation explaining the purpose and usage of each advanced operation. ## Bounty Owner/Gardener @giteadmin ## Roles bounty gardener: @giteadmin / 120 DAI bounty worker: name / 80% bounty reviewer: name / 20% ## Gardener checklist - [x] I have attached one of the `size-` labels to this bounty
giteadmin added the bounty-M label 2024-12-24 14:39:23 +00:00
giteadmin changed title from Implement Advanced BOOLEAN Stack Manipulation and Utilities to Advanced BOOLEAN Stack Manipulation and Utilities 2024-12-24 14:42:31 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: giteadmin/SoLUSH-3#13