Skip to content

Commit 155e2a9

Browse files
committed
create-interpret/compile etc. is now obsolete, use set-compsem instead
1 parent 20e0bab commit 155e2a9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: intcomp.fs

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ latestxt >does-code
3131
constant no-compilation-does-code
3232
constant no-interpretation-does-code
3333

34-
: create-interpret/compile ( "name" -- ) \ gforth
34+
: create-interpret/compile ( "name" -- ) \ gforth-obsolete
3535
0 0 interpret/compile:
3636
here latestxt interpret/compile-comp !
3737
no-compilation-does-code here does-code!
@@ -52,23 +52,23 @@ constant no-interpretation-does-code
5252
: (interpretation>1) ( addr R:retaddr -- )
5353
latestxt interpret/compile-int swap fix-does-code ;
5454

55-
: interpretation> ( compilation. -- orig colon-sys ) \ gforth
55+
: interpretation> ( compilation. -- orig colon-sys ) \ gforth-obsolete
5656
here 4 cells + POSTPONE literal POSTPONE (interpretation>1) POSTPONE ahead
5757
defstart dead-code off 0 set-locals-size-list ; immediate restrict
5858

59-
: <interpretation ( compilation. orig colon-sys -- ) \ gforth
59+
: <interpretation ( compilation. orig colon-sys -- ) \ gforth-obsolete
6060
?struc POSTPONE exit
6161
POSTPONE then ; immediate restrict
6262

6363
: (compilation>1) ( addr R:retaddr -- )
6464
latestxt interpret/compile-comp swap fix-does-code ;
6565

66-
: compilation> ( compilation. -- orig colon-sys ) \ gforth
66+
: compilation> ( compilation. -- orig colon-sys ) \ gforth-obsolete
6767
here 4 cells + POSTPONE literal POSTPONE (compilation>1) POSTPONE ahead
6868
defstart dead-code off 0 set-locals-size-list POSTPONE >body ; immediate restrict
6969

7070
comp' <interpretation drop
71-
Alias <compilation ( compilation. orig colon-sys -- ) \ gforth
71+
Alias <compilation ( compilation. orig colon-sys -- ) \ gforth-obsolete
7272
immediate restrict
7373

7474
\ example

0 commit comments

Comments
 (0)