Forth Virtual machine interpreter written in Python/tkinter

Published: 16 December 2018
on channel: Manuel Rodriguez
343
5

The program is 120 lines long and contains of two classes. In the GUI class, the tkinter widgets are drawn which is the treeview for displaying the memory and the input textfield. The VM class handles the Virtual machine itself. It contains of two major methods, namely fetch() for retrieving the next command and execute() for change the register-set and moving to a new address. The overall system emulates a complete computer, or to be more specific a stackbased virtual machine which follows the Forth paradigm. Apart from simple commands like “+” and “drop” no further actions are possible. That means, only a small subset of the needed amount of opcodes is available in the prototype.


On this page of the site you can watch the video online Forth Virtual machine interpreter written in Python/tkinter with a duration of hours minute second in good quality, which was uploaded by the user Manuel Rodriguez 16 December 2018, share the link with friends and acquaintances, this video has already been watched 343 times on youtube and it was liked by 5 viewers. Enjoy your viewing!