From eee0de87ec02373828593e020df9247b50afacc8 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 28 Jan 2025 21:22:07 -0500 Subject: add many more words --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 91d2a9d..4e2223b 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,11 @@ Register usage is the only platform-specific requirement; otherwise, `foci` is w ## Available words -``` -dup drop swap rot -rot over tuck @ ! c@ c! + +! - * / mod and or xor = < [ ] , -cell cell+ cells base here allot latest negate invert 1- 1+ aligned align : ; -literal if then else ' ['] execute decimal hex . emit begin until again while -repeat >r r> 2>r 2r> r@ do loop i immediate -``` +Many words from [core ANS Forth](https://forth-standard.org/standard/core) are supported. See `compat.txt` for a list. + +Some features are not expected to be implemented: +* Pictured numeric output, e.g. `<# # #>` +* Double-width arithmetic ## Build instructions -- cgit v1.2.3