Week 9: July 16th - July 20th

Monday, July 16th

I can't believe there's only 2 more weeks of JFLAPing! I've got all of CYK and most of Brute force parsing done, so now a lot of what I have to do is visual, bug fixing, and writing out what I've done, in detail, so that it can be added/expanded upon for the tutorials. Depending on Julian and threading, I should have my part of parsing completely done by the end of the week, and I can start wrapping up everything else.

Tuesday, July 17th

Thought I was done with CYK Parsing, but clearly I've got a bit to go still to make it as perfect as possible. Today I fixed the draggability/resizability of the parser table, made it so that the proper headers would light up when an editable cell is selected, essentially redid the highlight table functionality, did a lot of rendering things, and best of all figured out a way to give the user the option on whether they want a diagonal or horizontal stepping table (all I needed was a two line helper method and a boolean). I may even do some animation, we'll see. Either way, CYK Parsing is going to be AWESOME!

Wednesday, July 18th

Not only did I get all my code cleaned up, I also implemented the animation! Or at least the starting point. I'm extremely proud of this one, getting it to work for both diagonal and horizontal was a little tricky, but I figured it out. Now with a click of a button, user can see the pairs they need to consider at each step!

Thursday, July 19th

While today wasn't quite as awesome as yesterday, I got a decent amount done, and think that the CYK Parser is just about done, barring giving the users the option to do either layout, which will have to be implemented when I know what Julian's planning to do with Preferences. I spent a lot of the day debugging and going over things with Professor Rodger, and am going to start writing tomorrow about all the things I did, coming up with examples, etc. Hopefully I'll have stuff to test from Julian next week, and then I'm out of here and back to New Mexico! Also....

Friday, July 20th

See above picture. Quite tired from that, but still (with the help of an informative email from Julian) managed to get a LOT done with the parsers. I fixed an error with the buttons in the control panel, added a brute force running view, reworked the RunningView hierarchy to actually matter, made the derivation table undraggable, inserted a step into the Brute force parser (no need for an automatic first step), and changed the rendering of cells in CYK to actually look like they represent sets. I also did quite a bit of cleanup and commenting on some of my old code (which helped me realize finally what some of 7.0 parsing optimization did!). I'll have a little more cleanup on sets, languages, and Turing machines next week, but now it's basically testing and writing until I leave (unless Julian comes up with something new). Can't believe I only have 5 days left!