Proposal on latest-name
#153
ruv
started this conversation in
Show and tell
Replies: 3 comments 2 replies
-
|
I don't see any analysis of how existing widely-used systems do it. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Is there some sort of "user story" for why this would be interesting? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Please, have a look at my significantly updated proposal New words: Please let me know if you have any questions or objections. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I prepared a proposal: New words:
latest-nameandlatest-name-in(on forth-standard.org).It suggests to standardize the following words:
LATEST-NAME-IN( wid -- nt|0 )Remove the word list identifier wid from the stack. If the corresponding word list is empty, then return
0; otherwise, return the name token nt for the definition whose name was placed most recently into this word list.LATEST-NAME( -- nt )Return the name token nt for the definition whose name was placed most recently into the compilation word list, if such a definition exists. Otherwise, throw the exception code
-80.Feedback is welcome!
Beta Was this translation helpful? Give feedback.
All reactions