[gforth] / gforth / extend.fs  

gforth: gforth/extend.fs

Diff for /gforth/extend.fs between version 1.67 and 1.68

version 1.67, Fri Dec 31 18:09:02 2010 UTC version 1.68, Wed Aug 10 13:55:02 2011 UTC
Line 63 
Line 63 
 0 CONSTANT case ( compilation  -- case-sys ; run-time  -- ) \ core-ext  0 CONSTANT case ( compilation  -- case-sys ; run-time  -- ) \ core-ext
     immediate      immediate
   
   : ?of ( compilation  -- of-sys ; run-time  f -- ) \ gforth
       1+ >r POSTPONE if r> ; immediate
   
 : of ( compilation  -- of-sys ; run-time x1 x2 -- |x1 ) \ core-ext  : of ( compilation  -- of-sys ; run-time x1 x2 -- |x1 ) \ core-ext
     \ !! the implementation does not match the stack effect      \ !! the implementation does not match the stack effect
     1+ >r      postpone over postpone = postpone ?of postpone drop ; immediate
     postpone over postpone = postpone if postpone drop  
     r> ; immediate  
   
 : endof ( compilation case-sys1 of-sys -- case-sys2 ; run-time  -- ) \ core-ext end-of  : endof ( compilation case-sys1 of-sys -- case-sys2 ; run-time  -- ) \ core-ext end-of
     >r postpone else r> ; immediate      >r postpone else r> ; immediate


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

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help