{"action":"created","issue":{"url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/4435","labels_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/4435/labels{/name}","comments_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/4435/comments","events_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/4435/events","html_url":"https://github.com/D-Programming-Language/dmd/pull/4435","id":58499971,"number":4435,"title":"[DDMD] Clean up response.c so it can be converted to D","user":{"login":"yebblies","id":580100,"avatar_url":"https://avatars.githubusercontent.com/u/580100?v=3","gravatar_id":"","url":"https://api.github.com/users/yebblies","html_url":"https://github.com/yebblies","followers_url":"https://api.github.com/users/yebblies/followers","following_url":"https://api.github.com/users/yebblies/following{/other_user}","gists_url":"https://api.github.com/users/yebblies/gists{/gist_id}","starred_url":"https://api.github.com/users/yebblies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yebblies/subscriptions","organizations_url":"https://api.github.com/users/yebblies/orgs","repos_url":"https://api.github.com/users/yebblies/repos","events_url":"https://api.github.com/users/yebblies/events{/privacy}","received_events_url":"https://api.github.com/users/yebblies/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/D-Programming-Language/dmd/labels/DDMD","name":"DDMD","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-22T11:45:29Z","updated_at":"2015-02-23T00:05:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/4435","html_url":"https://github.com/D-Programming-Language/dmd/pull/4435","diff_url":"https://github.com/D-Programming-Language/dmd/pull/4435.diff","patch_url":"https://github.com/D-Programming-Language/dmd/pull/4435.patch"},"body":"- Remove a level of indentation\r\n- Use root\\file instead of reinventing it"},"comment":{"url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/comments/75474081","html_url":"https://github.com/D-Programming-Language/dmd/pull/4435#issuecomment-75474081","issue_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/4435","id":75474081,"user":{"login":"Safety0ff","id":157885,"avatar_url":"https://avatars.githubusercontent.com/u/157885?v=3","gravatar_id":"","url":"https://api.github.com/users/Safety0ff","html_url":"https://github.com/Safety0ff","followers_url":"https://api.github.com/users/Safety0ff/followers","following_url":"https://api.github.com/users/Safety0ff/following{/other_user}","gists_url":"https://api.github.com/users/Safety0ff/gists{/gist_id}","starred_url":"https://api.github.com/users/Safety0ff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Safety0ff/subscriptions","organizations_url":"https://api.github.com/users/Safety0ff/orgs","repos_url":"https://api.github.com/users/Safety0ff/repos","events_url":"https://api.github.com/users/Safety0ff/events{/privacy}","received_events_url":"https://api.github.com/users/Safety0ff/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T00:05:13Z","updated_at":"2015-02-23T00:05:13Z","body":"I was planning to use my [C++ implementation & tests](https://github.com/Safety0ff/response_expand) as a starting point (created for LDC):\r\n\r\n> This code does some weird backslash escaping stuff that might be hard to duplicate. I'm not sure it's actually valid on windows though. \r\n\r\nIt was easier to write tests and re-discover the rules than read the existing code (IMO.)\r\nIIRC, it deviates from the escaping described [here](https://blogs.msdn.com/b/oldnewthing/archive/2010/09/17/10063629.aspx?Redirected=true).\r\n> - Walter will want a clean-room implementation\r\n\r\nIf he needs clean-room / chinese wall followed to the letter, then at least my tests can be of use."}}