Thu Jun 08 2000 01:27:
Get out of Mordor free! Fred was talking about a site
that compared lembas to Twinkies, and I found it:
Sarcasm. Also includes such gems as misleading summaries of Tolkien's works
Rejected Lord of the Rings Plot Twists: "Balin emerges from the depths of Moria, claiming he 'fell asleep in
Thu Jun 08 2000 02:11:
Strangely enough, string comparison seems to already work. I'm
Thu Jun 08 2000 07:39:
Test cases that fail: 8 (integer division is done as real),
9 (similar cause), 10 (weird constant thing), 11-13 (division again!!)
on whole arrays), 19 (integer division gives same results as real
division (bleah!!!)), 20 (nonexistant label). That's not good (there are 22 test cases, which means I correctly compile only half of them).
I really have to fix the division. The weird thing is that the TA
says we don't have to implement division, yet it's used in 9 of
the sample test cases. If I fix the division I suppose I can call
Thu Jun 08 2000 08:05:
8, 9, and 11 work now. I have to go to class.
Thu Jun 08 2000 10:40:
I'm not going to fix #19 because I object to its semantics (also, it's too hard). I
fixed the conversion problem, but I'm not going to make the type of a division expression
depend on what type the result is being assigned to rather than on
what type is being divided by what type. I mean, come on.
#10 also looks hopeless because jasmin doesn't seem to want to
accept negative values for its constants.
I'm working on the whole-array operations now. Then I'm going
Thu Jun 08 2000 13:09:
I have a compiler submission in. I spent all this time getting array operations
and printing out of whole arrays to work, and only one of the three
test cases that uses that now works correctly (the other two have
subtle things wrong with them). Bleah. I've been up since midnight.
Double bleah. I have 16/22 right now, which isn't bad. I just realized that the lecture I'm going to go to
right now is my last lecture ever. Yay!
Thu Jun 08 2000 20:09:
I don't know what the people in the other building are doing, but
I'm fairly certain that they could do it at about 3% of their
current shouting level. Unless, of course, what they're doing is
Thu Jun 08 2000 20:38:
17 works now. 15 still doesn't work and isn't going to work because it
assumes that arrays are stored in column major order and I store them in row major order.
Therefore, the test cases that have stymied my compiler are 10, 12,
13, 15, and 20. I'm working on fixing 10, but it will be ugly.
Thu Jun 08 2000 20:51:
The great thing about having two techno albums is the
variety! One techno album might get monotonous after a while,
but when you have two, one or the other is always appropriate!
The compiler takes forever to make. I blame the Internet.
Specifically, I blame HTTP v1.1.
Thu Jun 08 2000 21:04:
I fixed the problem with 10 but it shamelessly manifested another
problem, so I give up. 17 out of 22 isn't bad. I'm testing the
compiler for turnin now.
|Unless otherwise noted, all content licensed by Leonard Richardson|
under a Creative Commons License.