added examples (fib,69420/fizzbuzz)

This commit is contained in:
2025-09-07 18:36:59 +01:00
parent ab2cba643d
commit c323e84a00
3 changed files with 70 additions and 0 deletions

18
examples/fib.zorth Normal file
View File

@@ -0,0 +1,18 @@
: fib
0 1
begin
rot
dup 0>
while
1-
rot rot
dup
dup .
rot
+
repeat
;
15 fib
ret