[gforth] / gforth / kernel / toolsext.fs  

gforth: gforth/kernel/toolsext.fs

Diff for /gforth/kernel/toolsext.fs between version 1.4 and 1.5

version 1.4, Mon Dec 1 21:15:23 1997 UTC version 1.5, Sat Oct 10 10:28:37 1998 UTC
Line 25 
Line 25 
 : 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, ' drop A,  Create [struct]-search    ' scanIF A,  ' (reveal) A,  ' drop A, ' drop A,
 Create [struct]-voc       NIL A,       [struct]-search A,  Create [struct]-voc       [struct]-search A,
                           NIL A,       NIL A,                            NIL A,       NIL A,       NIL A,
   
 : ?if  countif @ 0<  : ?if  countif @ 0<
   IF  [ [struct]-voc 3 cells + ] ALiteral @ lookup !  THEN ;    IF  [ [struct]-voc 3 cells + ] ALiteral @ lookup !  THEN ;
Line 56 
Line 56 
   
 UNLOCK Tlast @ swap Tlast ! LOCK  UNLOCK Tlast @ swap Tlast ! LOCK
 \ last @ swap last !  \ last @ swap last !
 1 cells - [struct]-voc !  1 cells - [struct]-voc cell+ !
   
 \ Interpretative Structuren                            30apr92py  \ Interpretative Structuren                            30apr92py
   


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

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help