{"author_name":"Overkill","cat":"LD #24","comments":[],"epoch":1345941600,"likes":1,"metadata":{"p_key":"52945","p_author":"Overkill","p_authorkey":"1210","p_urlkey":"88647","p_title":"Well, it\u2019s a start","p_cat":"LD #24","p_event":"LD24","p_time":"1345941600","p_likes":"1","p_comments":"0","p_status":"UPD5","us_key":"1210","us_name":"Overkill","us_username":"overkill","event_start":"1345766400","event_key":"12","event_name":"LD24"},"text":"<p>When I wasn&#8217;t spending my time eating food to survive and doing laundry, I was click-clacking on my new mechanical keyboard that arrived today. I bought this nice MX Cherry Black model from WASD Keyboards, \u00a0and I customized the look of it a little bit with some colorful keys and such. So far, it&#8217;s got nice and pretty comfortable, I think I like it a lot more than my previous keyboard.<\/p>\n <p>So yeah, using that new keyboard, I typed things! Words and code and stuff.\u00a0I think I finally finished the partial constant folding business of the assignment statement code-gen stuff in my Game Boy Assembly language, wiz.<\/p>\n <p>Here&#8217;s how it looked before I removed the debug messages:<\/p>\n <pre>examples\/test.wiz(32): error: Howsdfsdfsdfsdf is that even\n examples\/test.wiz(32): error: YAH\n examples\/test.wiz(32): error: HUUAAA222H\n examples\/test.wiz(39): error: Howsdfsdfsdfsdf is that even\n examples\/test.wiz(39): error: NAH wiz.ast.infix.Infix 16814\n examples\/test.wiz(77): error: DAFUQ\n examples\/test.wiz(77): error: HUUAAA222H\n examples\/test.wiz(39): error: NAH2wiz.ast.number.Number\n examples\/test.wiz(77): error: Howsdfsdfsdfsdf is that even\n examples\/test.wiz(77): error: YAH\n examples\/test.wiz(77): error: HUUAAA222H\n examples\/test.wiz(85): error: reference to undeclared symbol 'hardware_type'<\/pre>\n <p>So yeah, this is good news, because it means I can start generating code for runtime computations in source expressions, that occur after the left-most expression of the source is loaded into the destination. \u00a0This means that<\/p>\n <pre>a = 100 * 3 - 4 + b + c<\/pre>\n <p>will essentially become:<\/p>\n <pre>a = 296\n a = a + b\n a = a + c<\/pre>\n <p>Hooray! I think I can do this. There probably lots and lots of bugs I&#8217;ll introduce before I finish, and I&#8217;ll have to do lots of cleanup, but we&#8217;re getting somewhere!<\/p>\n <p>&#8212; Overkill<\/p>","time":"August 25th, 2012 7:40 pm","title":"Well, it\u2019s a start"}