3 ms·
So the inner interpreter is a VM of some sort? Outer interpreter looks like exactly that, an interpreter (as opposed to a compiler)
by raverbashing 13y ago
So the inner interpreter is a VM of some sort?
Outer interpreter looks like exactly that, an interpreter (as opposed to a compiler)
- Someone 13y agoYes, it has been described as such. A main difference/interesting property of this VM is that end users write programs in Forth by extending the VM's instruction set (= the set of dictionary definitions). While in interpreted mode or at compile time (i.e. when the user types words in the terminal), the instruction lookup is slow, through one or more linked lists. At run time, definitions simply consist of lists of pointers to other functions.