Replies: 2 comments 3 replies
-
OF816 implements a flag for “compile-only” words, which its definition for I could remove the flag and the result would be effectively doing nothing (storing a zero in the state variable, which is already zero in the interpretation state). Since using |
Beta Was this translation helpful? Give feedback.
-
As it happens did I just upload "yoda", a rather Forthish Forth-like source to bash functions compiler, which implements the same mechanism as cmForth by placing |
Beta Was this translation helpful? Give feedback.
-
Interpretation semantics for
[
(left-bracket)At the moment, the standard undefines interpretation semantics for the word
[
. Hence, a system may provide any behavior when this word is encountered by the Forth text interpreter in interpretation state. In most systems this behavior is to do nothing. I.e. the implemented interpretation semantics for this word are to do nothing.One known historical exception from this majority is the cmForth system that raises a not found error in this case, since this word is defined in COMPILER word list only (cmforth.fth#L409).
Can anybody provide other such examples?
Beta Was this translation helpful? Give feedback.
All reactions