Digest #133 2021-01-23

Contributions

[177] 2021-01-22 03:42:24 MitraArdron wrote:

example - Needs an example of replacing COMPILE

I don't know about anyone else, but how POSTPONE replaces [COMPILE] is clear, much as I've tried I can't figure out how POSTPONE replaces COMPILE.

For example with something like : AGAIN COMPILE branch ; ( a -- ) how is that intended to be replaced by POSTPONE is unclear.

Replies

[r593] 2021-01-22 02:42:43 MitraArdron replies:

requestClarification - GT1 not defined

In which case shouldn't GT1 be linked to the definition on that page ?


[r594] 2021-01-22 10:39:10 AntonErtl replies:

example - Needs an example of replacing COMPILE

Just use POSTPONE instead of COMPILE; adding the <RESOLVE that is missing from your AGAIN, this results in:

: again postpone branch <resolve ;