Browsed by
Category: Aarohi’s Status Report

Aarohi’s Status Update for May 2

Aarohi’s Status Update for May 2

Progress I unfortunately was not able to work on capstone as much as I would have liked this week, because I was really busy with projects due in my three other classes. The last one of them is due tomorrow, so after that I will be working on the final paper and assisting with the demo as much as I can, since I don’t have the physical tiles with me. Functions are as developed as last week, and my group…

Read More Read More

Aarohi’s Status Update for April 25

Aarohi’s Status Update for April 25

Progress This week I worked on three major things. We had our demo on Wednesday, during which I realized that the interpreter doesn’t throw errors in many cases: for example, when a single “<” symbol was the only tile, or if I had a nonsense statement such as “if print”. My first task of the week was therefore to comb through the interpreter and throw errors wherever possible. Almost all of these were new syntax errors. Then, I worked on…

Read More Read More

Aarohi’s Status Update for April 18

Aarohi’s Status Update for April 18

Progress This week I began to look at function application, and also fix PEMDAS on the interpreter and smoothen everything out for the final demo. My group decided that it would make more sense for me to focus on polishing the interpreter this week so that we are in good shape for the final demo, and work on functions on a different branch. I was a little busy this week with other classes, so function application is a little incomplete,…

Read More Read More

Aarohi’s Status Update for April 11

Aarohi’s Status Update for April 11

Progress This week I continued work on the display/GUI and introduced a top level module so that the translator (reads in input from the master tile, TODO, interpreter and the display can interact). The top level module is very simple for now, but I have yet to add the deserialization code to it. I will see if this deserialization is more suited to a different module (translation) or whether it should happen in the top level itself. As for the…

Read More Read More

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…

Read More Read More

Aarohi’s Status Update for March 28

Aarohi’s Status Update for March 28

Progress This week I worked on porting the interpreter from Arduino C to python, and implemented error checking. I first worked on getting individual commands to work first. Handling commands was straightforward since the only command to implement with the remote, laptop version is print. Handling variables was a little more involved, since I needed to work with evaluating an expression. I changed eval_expression completely, so that it now recursively evaluates expressions. I split up eval (helper function for eval_expression…

Read More Read More

Aarohi’s Status Update for March 21

Aarohi’s Status Update for March 21

Progress This week we worked on modifying our project to fit the new COVID-19 remote protocol. Since Eric and Melodee will be at the same location the rest of the semester, our project on a whole does not change as much, but since my laptop does not communicate with the robot, the interpreter (my portion) will be modified. Instead of communicating output and input from the robot, the interpreter will output to a laptop with simple print statements. Additionally, I…

Read More Read More

Aarohi’s Status Update for March 7

Aarohi’s Status Update for March 7

Progress This week we focused mostly on writing the design report. Since we made a few changes regarding functions from the initial design, we had to design a new code diagram. A copy of the diagram is below: The boxes is orange are to be modified/under modification by me, the boxes in red are allowed to modify the global variable containing the error (aka they are allowed to throw errors) and the box in green (eval_expression) performs type checking. I…

Read More Read More

Aarohi’s Status Update for February 29

Aarohi’s Status Update for February 29

Progress This week I mostly focused on specing out the rest of the interpreter, and on the design presentation.  Functions  We decided to add an additional functionality to the spec of the interpreter: functions. This involves function definition (fn), functions and return statements. Functions will be declared as follows:  Code:  fun foo(int x) {     return x + x; } fun bar(int x) { return foo(x); } CodeBlox: v1 = fn of v2 return v2 + v2 v3 = fn of…

Read More Read More

Aarohi’s Status Update for February 22

Aarohi’s Status Update for February 22

Progress At the beginning of the week, I wrote a unit testing apparatus that takes in an input stream of the same format as what the robot will be receiving from the master tile and outputs a list encoding the position information of the tiles. It creates an m x n array (m rows and n columns of codeblox tiles) with the appropriate tile code at the correct location. If there is no tile at a given position, it outputs…

Read More Read More