This commit is contained in:
Koichi Nakamura 2021-01-04 09:32:16 +09:00
parent 0327f5e68b
commit ca8f5a191f

View file

@ -1291,3 +1291,13 @@ create word-buffer s" 63" >number drop cell+ allot drop
;
main
( === Dump of data stack === )
: .s ( -- )
sp0 sp@ - cell- cell / ( depth of the stack )
'<' emit 0 u.r '>' emit space
sp@ sp0 ( beg end )
begin 2dup < while
cell- dup @ .
repeat 2drop
;