Week 7: July 2nd - July 6th

Monday, July 2nd

Today I worked on coming up with a new CYK parsing GUI. It seems to differ from the other parsers (at least the brute force) in that the table it generates (the CYK Parse Table) is completely dependent on the input, so input is needed before anything can be constructed (as differing from First-Follow tables). I've got a basic layout, but tomorrow I'll crack down on the specifics, including blank cell rendering, step, step to next row, step to completion buttons, etc. Should have it done by the end of the week and hopefully refine the existing Parser stuff to integrate it.

Tuesday, July 3rd

Got quite a bit up and running with the CYK GUI, including being able to edit the table one step at a time, step, step to next row, and completion along with a few silly bug fixes and proper highlighting and rendering of table cells. Hopefully on Thursday I'll be able to refine it so that the code is a lot prettier, and have it be able to transition seamlessly to a derivation/tree view.

Wednesday, July 4th

No work today!! Grilled out and celebrated Independence Day!!

Thursday, July 5th

Worked a lot towards finishing my CYK Parsing GUI. I fixed a lot of things involving input, transitions to and from the derivation/tree view, and cleaning up the code into nicer methods. Overall, I'm liking how it turned out, but I'm going to have to still do a few things: figure out how the ParsePane inheritance is going to be/how it will affect CYKParsePane, the same for the tables (I assume First/Follow tables will follow the same model), and I'd like to make the table easier to follow for someone who hasn't looked at a CYK Parse table before.

Friday, July 6th

Another week done, another week well spent! I finished just about everything I could without input from Julian and Prof. Rodger, so I'm quite happy with where everything. Made my CYK parser to the layout I want, fixed all bugs I could, and beside the user interaction (ie. only requiring a couple boxes to be manually filled in, highlighting the blocks needed to be combined) and the tree drawing/derivation display, it's pretty done. By the end of next week (hopefully) everything will be ready to be included into a full Parser hierarchy, and the other parsers will be done (LL, LR, User, Multiple brute force, and Multiple CYK). Only 3 more weeks, so I'll have to work fast!!