Aarohi’s Status Update for April 4

Aarohi’s Status Update for April 4

Progress

This week I worked on creating a display/GUI. This will be run as soon as the master tile sends an input stream to the top module (coming soon). The GUI will show a display of the tiles read in, what each tiles is (from the encoding), error tiles highlighted in red, and output of the program on the side. The GUI also allows for “user input”, if we add a corresponding CodeBlox tile.

Since I’ve never made a GUI in python before, I was experimenting with python’s turtle, Tkinter, and pygame. I found that in pygame it’s easier to draw rectangles and fill them with text (something high on the GUI requirements, since the user is supposed to be able to see what their program actually is), as well as color code the tiles (for displaying errors). I am also able to add a text box on the side.

So far the GUI displays the tiles of the program given input blocks along with the master tile. The tiles have text encodings of what they are. Between tonight and tomorrow I will be finishing up adding a box for the output of the interpreter and displaying errors.

Schedule

I am on track to finish the GUI by tomorrow. As stated above, I will be adding a box for the output of the interpreter and errors by then. After this, I will start working on the top module which will get the stream from the master tile and convert it into a form both the GUI and the interpreter can use.

Goals for next week:

  1. Finish up GUI: output of interpreter and errors
  2. Start work on the top module.
  3. (if time) Change use of NOP_T in interpreter (tile code) to NOP tile class for uniformity.

Leave a Reply

Your email address will not be published. Required fields are marked *