{"action":"created","issue":{"url":"https://api.github.com/repos/paulfitz/cosmicos/issues/16","repository_url":"https://api.github.com/repos/paulfitz/cosmicos","labels_url":"https://api.github.com/repos/paulfitz/cosmicos/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/paulfitz/cosmicos/issues/16/comments","events_url":"https://api.github.com/repos/paulfitz/cosmicos/issues/16/events","html_url":"https://github.com/paulfitz/cosmicos/pull/16","id":165974189,"number":16,"title":"Preprocessing of Strings, Little more Statistics in Python Decoder","user":{"login":"joha2","id":12564815,"avatar_url":"https://avatars.githubusercontent.com/u/12564815?v=3","gravatar_id":"","url":"https://api.github.com/users/joha2","html_url":"https://github.com/joha2","followers_url":"https://api.github.com/users/joha2/followers","following_url":"https://api.github.com/users/joha2/following{/other_user}","gists_url":"https://api.github.com/users/joha2/gists{/gist_id}","starred_url":"https://api.github.com/users/joha2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joha2/subscriptions","organizations_url":"https://api.github.com/users/joha2/orgs","repos_url":"https://api.github.com/users/joha2/repos","events_url":"https://api.github.com/users/joha2/events{/privacy}","received_events_url":"https://api.github.com/users/joha2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-07-17T12:16:17Z","updated_at":"2016-07-20T22:12:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/paulfitz/cosmicos/pulls/16","html_url":"https://github.com/paulfitz/cosmicos/pull/16","diff_url":"https://github.com/paulfitz/cosmicos/pull/16.diff","patch_url":"https://github.com/paulfitz/cosmicos/pull/16.patch"},"body":"The function `preprocessString` in the `Parse` class is now able to transform a string\r\n\r\n    @ has-square-divisor-within | ? top | ? x | if (< $top 0) 0 | if (= $x | * $top $top) 1 | has-square-divisor-within (- $top 1) $x\r\n\r\nwhich is in human readable form into a string\r\n\r\n    @ has-square-divisor-within (? top (? x (if (< (top) 0) 0 (if (= (x) (* (top) (top))) 1 (has-square-divisor-within (- (top) 1) (x))))))\r\n\r\nwhich is parseable easier. Another advantage is that the encoding of this string in the message afterwards is more coherent for the intended recipient, see #15. As a result the following `stringToList` and `evaluateInContext` functions could be simplified drastically. :-)\r\nThe commits right now are in an intermediate debug stage: Therefore there are many `trace` commands appearing in the source and the message is broken shortly after the beginning."},"comment":{"url":"https://api.github.com/repos/paulfitz/cosmicos/issues/comments/234099908","html_url":"https://github.com/paulfitz/cosmicos/pull/16#issuecomment-234099908","issue_url":"https://api.github.com/repos/paulfitz/cosmicos/issues/16","id":234099908,"user":{"login":"joha2","id":12564815,"avatar_url":"https://avatars.githubusercontent.com/u/12564815?v=3","gravatar_id":"","url":"https://api.github.com/users/joha2","html_url":"https://github.com/joha2","followers_url":"https://api.github.com/users/joha2/followers","following_url":"https://api.github.com/users/joha2/following{/other_user}","gists_url":"https://api.github.com/users/joha2/gists{/gist_id}","starred_url":"https://api.github.com/users/joha2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joha2/subscriptions","organizations_url":"https://api.github.com/users/joha2/orgs","repos_url":"https://api.github.com/users/joha2/repos","events_url":"https://api.github.com/users/joha2/events{/privacy}","received_events_url":"https://api.github.com/users/joha2/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T22:12:26Z","updated_at":"2016-07-20T22:12:26Z","body":"What do you mean by \"do a evaluation at each stage\"? Which evaluation at which stage? :-)"}}
{"actor":{"display_login":"joha2"}}