--- gforth/extend.fs 1997/02/09 21:51:39 1.21 +++ gforth/extend.fs 1997/05/29 19:42:13 1.24 @@ -75,13 +75,16 @@ decimal \ UNUSED 17may93jaw +: dictionary-end ( -- addr ) + forthstart dup 3 cells + @ + ; + : unused ( -- u ) \ core-ext - forthstart dup 3 cells + @ + here - ; + dictionary-end here - ; \ [COMPILE] 17may93jaw : [compile] ( compilation "name" -- ; run-time ? -- ? ) \ core-ext bracket-compile - ' compile, ; immediate + comp' drop compile, ; immediate \ MARKER 17may93jaw @@ -121,7 +124,7 @@ decimal \ SOURCE-ID SAVE-INPUT RESTORE-INPUT 11jun93jaw -: source-id ( -- 0 | -1 | fileid ) \ core-ext source-i-d +: source-id ( -- 0 | -1 | fileid ) \ core-ext,file source-i-d loadfile @ dup 0= IF drop sourceline# 0 min THEN ; : save-input ( -- x1 .. xn n ) \ core-ext