{"action":"created","comment":{"url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/pulls/comments/64870479","id":64870479,"diff_hunk":"@@ -0,0 +1,51 @@\n+﻿module AlgorithmCYK\r\n+open System\r\n+ \r\n+let oneRuleCheck ((ch : string), (str : string)) (nonterm : string array) (ntgn : int array) (comp : string) = \r\n+    if comp = str\r\n+    then \r\n+        for i = 0 to nonterm.Length - 1 do\r\n+            if nonterm.[i] = ch\r\n+            then ntgn.[i] <- 1\r\n+       \r\n+let allRulesCheck (rules : list<string * string>) (nonterm : string array) (ntgn : int array) (comp : string array) = \r\n+    for i = 0 to comp.Length - 1 do\r\n+        for j = 0 to rules.Length - 1 do\r\n+            oneRuleCheck rules.[j] nonterm ntgn comp.[i]\r\n+\r\n+let compCreate (nonterm : string array) (ntgen1 : int array) (ntgen2 : int array) =\r\n+    let comp = ResizeArray<string>() \r\n+    for i = 0 to ntgen1.Length - 1 do\r\n+        if ntgen1.[i] = 1\r\n+        then\r\n+            for j = 0 to ntgen2.Length - 1 do\r\n+                if ntgen2.[j] = 1\r\n+                then comp.Add(nonterm.[i] + nonterm.[j])\r\n+    comp.ToArray()\r\n+              \r\n+let matrixCYK (rules : list<string * string>) (nonterm : string array) (str : string) (n : int) (matrix : int array [][]) = \r\n+    for k = 0 to n - 1 do \r","path":"Source/AlgorithmCYK/AlgorithmCYK.fs","position":27,"original_position":27,"commit_id":"b87267e06edda5be39c15a8d067eb5c3c5d5ca4f","original_commit_id":"b87267e06edda5be39c15a8d067eb5c3c5d5ca4f","user":{"login":"SusaninaJulia","id":14132241,"avatar_url":"https://avatars.githubusercontent.com/u/14132241?v=3","gravatar_id":"","url":"https://api.github.com/users/SusaninaJulia","html_url":"https://github.com/SusaninaJulia","followers_url":"https://api.github.com/users/SusaninaJulia/followers","following_url":"https://api.github.com/users/SusaninaJulia/following{/other_user}","gists_url":"https://api.github.com/users/SusaninaJulia/gists{/gist_id}","starred_url":"https://api.github.com/users/SusaninaJulia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SusaninaJulia/subscriptions","organizations_url":"https://api.github.com/users/SusaninaJulia/orgs","repos_url":"https://api.github.com/users/SusaninaJulia/repos","events_url":"https://api.github.com/users/SusaninaJulia/events{/privacy}","received_events_url":"https://api.github.com/users/SusaninaJulia/received_events","type":"User","site_admin":false},"body":"Т.е. мне поправить проблемы с форматированием и тесты, и будет зачтено?","created_at":"2016-05-27T08:07:09Z","updated_at":"2016-05-27T08:07:09Z","html_url":"https://github.com/YaccConstructor/Brahma.FSharp/pull/34#discussion_r64870479","pull_request_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/pulls/comments/64870479"},"html":{"href":"https://github.com/YaccConstructor/Brahma.FSharp/pull/34#discussion_r64870479"},"pull_request":{"href":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/pulls/34","id":71548976,"html_url":"https://github.com/YaccConstructor/Brahma.FSharp/pull/34","diff_url":"https://github.com/YaccConstructor/Brahma.FSharp/pull/34.diff","patch_url":"https://github.com/YaccConstructor/Brahma.FSharp/pull/34.patch","issue_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/issues/34","number":34,"state":"open","locked":false,"title":"5","user":{"login":"SusaninaJulia","id":14132241,"avatar_url":"https://avatars.githubusercontent.com/u/14132241?v=3","gravatar_id":"","url":"https://api.github.com/users/SusaninaJulia","html_url":"https://github.com/SusaninaJulia","followers_url":"https://api.github.com/users/SusaninaJulia/followers","following_url":"https://api.github.com/users/SusaninaJulia/following{/other_user}","gists_url":"https://api.github.com/users/SusaninaJulia/gists{/gist_id}","starred_url":"https://api.github.com/users/SusaninaJulia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SusaninaJulia/subscriptions","organizations_url":"https://api.github.com/users/SusaninaJulia/orgs","repos_url":"https://api.github.com/users/SusaninaJulia/repos","events_url":"https://api.github.com/users/SusaninaJulia/events{/privacy}","received_events_url":"https://api.github.com/users/SusaninaJulia/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-26T12:42:53Z","updated_at":"2016-05-27T08:07:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"44838551bea0bb0d9384ba385509cc4656a65e54","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/pulls/34/commits","review_comments_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/pulls/34/comments","review_comment_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/issues/34/comments","statuses_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/statuses/b87267e06edda5be39c15a8d067eb5c3c5d5ca4f","head":{"label":"SusaninaJulia:143","ref":"143","sha":"b87267e06edda5be39c15a8d067eb5c3c5d5ca4f","user":{"login":"SusaninaJulia","id":14132241,"avatar_url":"https://avatars.githubusercontent.com/u/14132241?v=3","gravatar_id":"","url":"https://api.github.com/users/SusaninaJulia","html_url":"https://github.com/SusaninaJulia","followers_url":"https://api.github.com/users/SusaninaJulia/followers","following_url":"https://api.github.com/users/SusaninaJulia/following{/other_user}","gists_url":"https://api.github.com/users/SusaninaJulia/gists{/gist_id}","starred_url":"https://api.github.com/users/SusaninaJulia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SusaninaJulia/subscriptions","organizations_url":"https://api.github.com/users/SusaninaJulia/orgs","repos_url":"https://api.github.com/users/SusaninaJulia/repos","events_url":"https://api.github.com/users/SusaninaJulia/events{/privacy}","received_events_url":"https://api.github.com/users/SusaninaJulia/received_events","type":"User","site_admin":false},"repo":{"id":53523287,"name":"Brahma.FSharp","full_name":"SusaninaJulia/Brahma.FSharp","owner":{"login":"SusaninaJulia","id":14132241,"avatar_url":"https://avatars.githubusercontent.com/u/14132241?v=3","gravatar_id":"","url":"https://api.github.com/users/SusaninaJulia","html_url":"https://github.com/SusaninaJulia","followers_url":"https://api.github.com/users/SusaninaJulia/followers","following_url":"https://api.github.com/users/SusaninaJulia/following{/other_user}","gists_url":"https://api.github.com/users/SusaninaJulia/gists{/gist_id}","starred_url":"https://api.github.com/users/SusaninaJulia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SusaninaJulia/subscriptions","organizations_url":"https://api.github.com/users/SusaninaJulia/orgs","repos_url":"https://api.github.com/users/SusaninaJulia/repos","events_url":"https://api.github.com/users/SusaninaJulia/events{/privacy}","received_events_url":"https://api.github.com/users/SusaninaJulia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SusaninaJulia/Brahma.FSharp","description":"F# quotation to OpenCL translator. Based on Brahma library.","fork":true,"url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp","forks_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/forks","keys_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/teams","hooks_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/hooks","issue_events_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/issues/events{/number}","events_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/events","assignees_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/assignees{/user}","branches_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/branches{/branch}","tags_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/tags","blobs_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/statuses/{sha}","languages_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/languages","stargazers_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/stargazers","contributors_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/contributors","subscribers_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/subscribers","subscription_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/subscription","commits_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/contents/{+path}","compare_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/merges","archive_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/downloads","issues_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/issues{/number}","pulls_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/pulls{/number}","milestones_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/milestones{/number}","notifications_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/labels{/name}","releases_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/releases{/id}","deployments_url":"https://api.github.com/repos/SusaninaJulia/Brahma.FSharp/deployments","created_at":"2016-03-09T18:55:36Z","updated_at":"2016-03-09T18:55:38Z","pushed_at":"2016-05-26T12:25:34Z","git_url":"git://github.com/SusaninaJulia/Brahma.FSharp.git","ssh_url":"git@github.com:SusaninaJulia/Brahma.FSharp.git","clone_url":"https://github.com/SusaninaJulia/Brahma.FSharp.git","svn_url":"https://github.com/SusaninaJulia/Brahma.FSharp","homepage":"https://sites.google.com/site/semathsrprojects/home/brahma-fsharp","size":62270,"stargazers_count":0,"watchers_count":0,"language":"F#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"YaccConstructor:143","ref":"143","sha":"6bd519c63af621067dd13160a1cde7c058f3745f","user":{"login":"YaccConstructor","id":6095386,"avatar_url":"https://avatars.githubusercontent.com/u/6095386?v=3","gravatar_id":"","url":"https://api.github.com/users/YaccConstructor","html_url":"https://github.com/YaccConstructor","followers_url":"https://api.github.com/users/YaccConstructor/followers","following_url":"https://api.github.com/users/YaccConstructor/following{/other_user}","gists_url":"https://api.github.com/users/YaccConstructor/gists{/gist_id}","starred_url":"https://api.github.com/users/YaccConstructor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaccConstructor/subscriptions","organizations_url":"https://api.github.com/users/YaccConstructor/orgs","repos_url":"https://api.github.com/users/YaccConstructor/repos","events_url":"https://api.github.com/users/YaccConstructor/events{/privacy}","received_events_url":"https://api.github.com/users/YaccConstructor/received_events","type":"Organization","site_admin":false},"repo":{"id":37526337,"name":"Brahma.FSharp","full_name":"YaccConstructor/Brahma.FSharp","owner":{"login":"YaccConstructor","id":6095386,"avatar_url":"https://avatars.githubusercontent.com/u/6095386?v=3","gravatar_id":"","url":"https://api.github.com/users/YaccConstructor","html_url":"https://github.com/YaccConstructor","followers_url":"https://api.github.com/users/YaccConstructor/followers","following_url":"https://api.github.com/users/YaccConstructor/following{/other_user}","gists_url":"https://api.github.com/users/YaccConstructor/gists{/gist_id}","starred_url":"https://api.github.com/users/YaccConstructor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaccConstructor/subscriptions","organizations_url":"https://api.github.com/users/YaccConstructor/orgs","repos_url":"https://api.github.com/users/YaccConstructor/repos","events_url":"https://api.github.com/users/YaccConstructor/events{/privacy}","received_events_url":"https://api.github.com/users/YaccConstructor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/YaccConstructor/Brahma.FSharp","description":"F# quotation to OpenCL translator. Based on Brahma library.","fork":true,"url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp","forks_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/forks","keys_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/teams","hooks_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/hooks","issue_events_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/issues/events{/number}","events_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/events","assignees_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/assignees{/user}","branches_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/branches{/branch}","tags_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/tags","blobs_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/statuses/{sha}","languages_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/languages","stargazers_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/stargazers","contributors_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/contributors","subscribers_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/subscribers","subscription_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/subscription","commits_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/contents/{+path}","compare_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/merges","archive_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/downloads","issues_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/issues{/number}","pulls_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/pulls{/number}","milestones_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/milestones{/number}","notifications_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/labels{/name}","releases_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/releases{/id}","deployments_url":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/deployments","created_at":"2015-06-16T11:34:38Z","updated_at":"2015-07-22T13:56:16Z","pushed_at":"2016-05-26T20:04:25Z","git_url":"git://github.com/YaccConstructor/Brahma.FSharp.git","ssh_url":"git@github.com:YaccConstructor/Brahma.FSharp.git","clone_url":"https://github.com/YaccConstructor/Brahma.FSharp.git","svn_url":"https://github.com/YaccConstructor/Brahma.FSharp","homepage":"https://sites.google.com/site/semathsrprojects/home/brahma-fsharp","size":62291,"stargazers_count":0,"watchers_count":0,"language":"F#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":20,"forks":6,"open_issues":20,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/pulls/34"},"html":{"href":"https://github.com/YaccConstructor/Brahma.FSharp/pull/34"},"issue":{"href":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/issues/34"},"comments":{"href":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/YaccConstructor/Brahma.FSharp/statuses/b87267e06edda5be39c15a8d067eb5c3c5d5ca4f"}}}}
{"actor":{"display_login":"SusaninaJulia"}}