Browse Source

Implement .

ApisNecros 1 year ago
parent
commit
ccbfe85c8d
1 changed files with 6 additions and 0 deletions
  1. 6 0
      starfish.js

+ 6 - 0
starfish.js

@@ -457,6 +457,12 @@ class CodeBox {
                 case "p":
                 case "p":
                     this.PlaceIntoCodeBox();
                     this.PlaceIntoCodeBox();
                     break;
                     break;
+                // Functions
+                case ".": {
+                    this.pointer.Y = this.stacks[this.curr_stack].Pop();
+                    this.pointer.X = this.stacks[this.curr_stack].Pop();
+                    break;
+                }
                 // End execution
                 // End execution
                 case ";":
                 case ";":
                     output = true;
                     output = true;