A portable create and does>
#163
ruv
started this conversation in
Show and tell
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
It is possible to implement
create,>bodyanddoes>in a standard Forth program, using quotations and the proposed wordlatest-name.See the implementation in my gist 4b957889.
This implementation is not very efficient, but can be useful for illustrative purposes, or as a ready-to-use library for a very small Forth system kernel.
Beta Was this translation helpful? Give feedback.
All reactions