Skip to content

Commit 925a3fc

Browse files
committed
Define DO, LOOP and I in user.4th.
1 parent a197ee2 commit 925a3fc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

user.4th

+3
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,6 @@ repeat drop ;
127127
: octal 8 base c! ;
128128
: binary 2 base c! ;
129129

130+
: do postpone swap postpone 2>r postpone begin postpone 2r@ postpone > postpone while ; immediate
131+
: loop postpone r> postpone 1+ postpone >r postpone repeat postpone 2r> postpone 2drop ; immediate
132+
: i postpone r@ ; immediate

0 commit comments

Comments
 (0)