Forth functions "c@", "<c@" and "c!" should be part of the instruction set. This may require reimplementing "@" and "!" to use memory addresses instead of shell memory space only (variables/stack index). The alternative is to create a small heap (a traditional dictionary with HERE and ALLOT) within the Shell object (as variables/stack).
Forth functions "c@", "<c@" and "c!" should be part of the instruction set. This may require reimplementing "@" and "!" to use memory addresses instead of shell memory space only (variables/stack index). The alternative is to create a small heap (a traditional dictionary with HERE and ALLOT) within the Shell object (as variables/stack).