{"id":962,"date":"2015-05-09T23:14:07","date_gmt":"2015-05-10T04:14:07","guid":{"rendered":"http:\/\/huewhite.com\/umb\/?p=962"},"modified":"2015-05-09T23:14:07","modified_gmt":"2015-05-10T04:14:07","slug":"current-project-ctd-3","status":"publish","type":"post","link":"https:\/\/huewhite.com\/umb\/2015\/05\/09\/current-project-ctd-3\/","title":{"rendered":"Current Project, Ctd"},"content":{"rendered":"<p>Just a brief note on <a href=\"https:\/\/huewhite.com\/umb\/2015\/04\/04\/current-project-ctd-2\/\" target=\"_blank\">this project<\/a>: with the onset of spring, my priorities are my wife, exercise, work, blogging, gardening &#8230; and then this project.\u00a0 So only a little has gotten done, and that consists of deciding on a debugging approach.\u00a0 Each XML production rule has been modified to look like this:<\/p>\n<blockquote><p>p_in # &amp; &#8230; &amp; p_out #;<\/p><\/blockquote>\n<p>The p_in and p_out functions keep track of the current depth of the stack of production rules and write<\/p>\n<blockquote><p>Production In #<\/p><\/blockquote>\n<p>and<\/p>\n<blockquote><p>Production Out #<\/p><\/blockquote>\n<p>with an indentation reflective of the depth of the stack.\u00a0 They also print the name of the production if they know it.\u00a0 Additionally, they replace the current failure function\u00a0 with a local failure function which curries in the current failure function and will invoke it upon invocation of itself &#8230;. and will say<\/p>\n<blockquote><p>Production Fail #<\/p><\/blockquote>\n<p>and the name of the production if known, at the proper indentation level.<\/p>\n<p>I have found this to be useful in tracking down some typos and\/or poor decisions I&#8217;ve made in the production rules.<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>The <a href=\"http:\/\/mythryl.org\/\" target=\"_blank\">Mythryl<\/a> compiler has also developed a queer little hitch.\u00a0 It&#8217;s typically blindingly fast for everything else I&#8217;ve written, but with this project there&#8217;s a 30 second pause at some point.\u00a0 I suspect it&#8217;s during whatever it uses as a link phase, but since Cynbe is working on a newer version, I&#8217;m not trying to track it down &#8230; partly since, as I told Cynbe, I do not have compiler chops and lack interest in developing them.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just a brief note on this project: with the onset of spring, my priorities are my wife, exercise, work, blogging, gardening &#8230; and then this project.\u00a0 So only a little has gotten done, and that consists of deciding on a debugging approach.\u00a0 Each XML production rule has been modified to \u2026 <a class=\"continue-reading-link\" href=\"https:\/\/huewhite.com\/umb\/2015\/05\/09\/current-project-ctd-3\/\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-962","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/huewhite.com\/umb\/wp-json\/wp\/v2\/posts\/962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/huewhite.com\/umb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/huewhite.com\/umb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/huewhite.com\/umb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/huewhite.com\/umb\/wp-json\/wp\/v2\/comments?post=962"}],"version-history":[{"count":1,"href":"https:\/\/huewhite.com\/umb\/wp-json\/wp\/v2\/posts\/962\/revisions"}],"predecessor-version":[{"id":963,"href":"https:\/\/huewhite.com\/umb\/wp-json\/wp\/v2\/posts\/962\/revisions\/963"}],"wp:attachment":[{"href":"https:\/\/huewhite.com\/umb\/wp-json\/wp\/v2\/media?parent=962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/huewhite.com\/umb\/wp-json\/wp\/v2\/categories?post=962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/huewhite.com\/umb\/wp-json\/wp\/v2\/tags?post=962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}