From 6d0e765f591b0223806ad3ba60742d6f09d2e25b Mon Sep 17 00:00:00 2001 From: olemorud Date: Sun, 7 May 2023 22:03:06 +0200 Subject: [PATCH] Update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 01c1e56..622f453 100644 --- a/README.md +++ b/README.md @@ -40,8 +40,8 @@ Right ForthState [45] | / | [a, b, ...] -> [a/b, ...] | Pop two items, a and b, from stack. Push a/b to the top
Returns Left DivisionByZero if b is 0 | | DUP | [a, b, ...] -> [a, a, b, ...] | Copy the top stack item and push it to the top | | DROP | [a, b, ...] -> [b, ...] | Discard the top of the stack | -| SWAP | [a, b, ...] -> [b, a, ...] | Pop two values, a and b, from the stack. Push them back in swapped order | -| OVER | [a, b, ...] -> [b, a, b, ...] | Copy the next value after the top of the stack and push it to the top | +| SWAP | [a, b, ...] -> [b, a, ...] | Pop two values, a and b, from the stack.
Push them back in swapped order | +| OVER | [a, b, ...] -> [b, a, b, ...] | Copy the next value after the top of the
stack and push it to the top | | Any number | [a, b, ...] -> [x, a, b, ...] | Push number to top of stack. Integers only |