Forth Virtual machine interpreter written in Python/tkinter

Publié le: 16 December 2018
sur la chaîne: 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.


Sur cette page du site, vous pouvez voir la vidéo en ligne Forth Virtual machine interpreter written in Python/tkinter durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Manuel Rodriguez 16 December 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 343 fois et il a aimé 5 téléspectateurs. Bon visionnage!