[gforth] / gforth / Attic / toolsext.fs  

gforth: gforth/Attic/toolsext.fs

Diff for /gforth/Attic/toolsext.fs between version 1.7 and 1.8

version 1.7, Thu May 9 18:13:04 1996 UTC version 1.8, Tue Jul 16 20:57:14 1996 UTC
Line 26 
Line 26 
 : scanIF   f83find  dup 0=  IF  drop ['] dummy >name  THEN  ;  : scanIF   f83find  dup 0=  IF  drop ['] dummy >name  THEN  ;
   
 Create [struct]-search    ' scanIF A,  ' (reveal) A,  ' drop A,  Create [struct]-search    ' scanIF A,  ' (reveal) A,  ' drop A,
 Create [struct]-voc       NIL A,       G [struct]-search T A,  Create [struct]-voc       NIL A,       [struct]-search A,
                           NIL A,       NIL A,                            NIL A,       NIL A,
   
 : ?if  countif @ 0<  : ?if  countif @ 0<
Line 55 
Line 55 
 ' \ Alias \                          immediate  ' \ Alias \                          immediate
   
 UNLOCK Tlast @ swap Tlast ! LOCK  UNLOCK Tlast @ swap Tlast ! LOCK
 1 cells - G [struct]-voc T !  1 cells - [struct]-voc !
   
 \ Interpretative Structuren                            30apr92py  \ Interpretative Structuren                            30apr92py
   
Line 83 
Line 83 
 : [LOOP] ( -- ) 1 rdrop rdrop ;                       immediate  : [LOOP] ( -- ) 1 rdrop rdrop ;                       immediate
 : [FOR] ( n -- )  0 swap postpone [DO] ;              immediate  : [FOR] ( n -- )  0 swap postpone [DO] ;              immediate
 : [NEXT] ( n -- ) -1 rdrop rdrop ;                    immediate  : [NEXT] ( n -- ) -1 rdrop rdrop ;                    immediate
 : [I] ( -- index ) (I) @ postpone Literal ;           immediate restrict  : [I] ( -- index ) (I) @ postpone Literal ;           immediate
 : [BEGIN] >in @ >r BEGIN r@ >in ! interpret UNTIL rdrop ;  : [BEGIN] >in @ >r BEGIN r@ >in ! interpret UNTIL rdrop ;
                                                       immediate                                                        immediate
 ' [+LOOP]  Alias [UNTIL] immediate  ' [+LOOP]  Alias [UNTIL] immediate


Generate output suitable for use with a patch program
Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help