Replies: 3 comments 10 replies
-
|
Most of my Forth implementations have Implementations vary, from to
The (xxx) naming convention was in vogue a long time ago, but AFAIK it is no longer common. |
Beta Was this translation helpful? Give feedback.
-
|
IMHO, a word Systems where and the optimization part would do |
Beta Was this translation helpful? Give feedback.
-
|
In most Forth systems, if the system provides the word « To make «
And adding of the following word makes «
To make «
Bottom line: the lack of standardized basic factors is a significant drawback of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes value-flavored variables are very convenient.
One problem with them is that they are bad in meta programming, because there is no standard method to perform the action of
towhen you have a name token.In typical usage the word
toreferences a word name as:But if we have the name token nt for
foo:there is no standard way to assign
1to the wordfoo.For defer-flavored variables we have such a way — the words
defer@anddefer!that apply to xt.What a word "X" (or maybe several words) can you suggest so it can be used to assign a value to a value-flavored variable through its nt or xt?
(Update: also, "X" may apply to a qualified semantic token qt instead of nt; qt is returned by a recognizer).
valueandto. An implementation for "X" does not matter.state, if you like.tousing the word "X" (or several words)?Note that
toapplies to local variables, so "X" should apply to local variables as well.Beta Was this translation helpful? Give feedback.
All reactions