{"action":"created","comment":{"url":"https://api.github.com/repos/dsavvinov/scala-shell/pulls/comments/90777439","pull_request_review_id":11293440,"id":90777439,"diff_hunk":"@@ -0,0 +1,246 @@\n+package language.parsing\n+\n+import exceptions.{AssignmentValueNotFoundException, SyntaxError}\n+import io.{InputStream, ResettableStream}\n+import language.lexing._\n+import language.AST._\n+\n+/**\n+  * Stateless static parser that consumes Resettable Input Stream\n+  * of tokens and produces SyntaxTree.\n+  */\n+object Parser {\n+  // Allows to drop noisy \"ParseResult.\" in calls of \"ParseResult.Just()\"\n+  import ParseResult._\n+\n+  def parse(input: ResettableStream[Token]): SyntaxTree = {\n+    /** AST root is node of type Program, and it's childrens are Expressions */\n+    val root = new Program\n+    while (input.head.isDefined) {\n+      val maybeExpression = expression(input)\n+\n+      /* If parser failed to parse expression and input still\n+         not at the end, then input has syntax errors\n+       */\n+      if (maybeExpression.isEmpty) {\n+        throw new SyntaxError(\"Unexpected token \" + input.head.toString)\n+      }\n+\n+      root append maybeExpression.get\n+    }\n+    new SyntaxTree(root)\n+  }\n+\n+  private def expression(input: ResettableStream[Token]): ParseResult[Expression] = {\n+    /** Each expression is a:\n+      * - assignment\n+      * - pipe\n+      * - single command\n+      * Note that order matters: because E1 | E2 could be erroneously parsed first as\n+      * Command(E1), but then parsing will fail, so case with pipe should go first\n+      */\n+\n+    val assignmentExpr : ParseResult[AssignmentExpression] = assignment(input)\n+    if (assignmentExpr.isDefined) {\n+      return Just(assignmentExpr.get)\n+    }\n+\n+    val pipeExpr: ParseResult[PipeExpression] = pipe(input)\n+    if (pipeExpr.isDefined) {\n+      return Just(pipeExpr.get)\n+    }\n+\n+    val maybeCmd: ParseResult[CommandExpression] = command(input)\n+    if (maybeCmd.isDefined) {\n+      return Just(maybeCmd.get)\n+    }\n+\n+    Nothing\n+  }\n+\n+  private def assignment(input: ResettableStream[Token]): ParseResult[AssignmentExpression] = {\n+    /**\n+      * Assignment is a:\n+      * - variable name (single word)\n+      * - assignment char (AssignmentCharToken)\n+      * - value (single word or token)\n+      */\n+\n+    input.mark()\n+\n+    val varName: ParseResult[Word] = word(input)\n+    if (varName.isEmpty) {\n+      input.reset()\n+      return Nothing\n+    }\n+\n+    if (assignmentSign(input).isEmpty) {\n+      input.reset()\n+      return Nothing\n+    }\n+\n+    /* At this moment, we have already read variable name and \"=\",\n+       so assignment have to be finished. Therefore, if we've failed\n+       in reading word, we are throwing exception instead of quiet rollback\n+     */\n+    val value: ParseResult[Word] = word(input)\n+    if (value.isEmpty) {\n+      throw AssignmentValueNotFoundException(s\"expected Word-token, found ${input.head.toString}\")\n+    }\n+\n+    val assignmentNode = AssignmentExpression()\n+    assignmentNode.append(varName.get)\n+    assignmentNode.append(value.get)\n+\n+    input.unmark()\n+    Just(assignmentNode)\n+  }\n+\n+\n+  private def command(input: ResettableStream[Token]): ParseResult[CommandExpression] = {\n+    /** Each command is a:\n+      * - command name - just a single word\n+      * - command arguments - list of word of arbitrary length\n+      */\n+\n+    input.mark()\n+\n+    val commandName = word(input)\n+    if (commandName.isEmpty) {\n+      input.reset()\n+      return Nothing\n+    }\n+\n+    val curNode = CommandExpression(commandName.get.value)\n+\n+    var arg: ParseResult[Node] = word(input)\n+    while (arg.isDefined) {\n+      curNode append arg.get\n+      arg = word(input)\n+    }\n+\n+    input.unmark()\n+    Just(curNode)\n+  }\n+\n+  private def pipe(input: ResettableStream[Token]): ParseResult[PipeExpression] = {\n+    /** Each pipe is a:\n+      * - command, followed by\n+      * - pipe symbol, followed by\n+      * - another pipe OR single last command\n+      * Note: order matters, \"another pipe\"-case should go\n+      *   before \"last command\"-case\n+      */\n+    input.mark()\n+\n+    val curNode = PipeExpression()\n+\n+    // Try parse command\n+    val commandExpr: ParseResult[CommandExpression] = command(input)\n+    if (commandExpr.isEmpty) {\n+      input.reset()\n+      return Nothing\n+    }\n+\n+    // Then try parse pipeSymbol\n+    if (pipeSymbol(input).isEmpty) {\n+      input.reset()\n+      return Nothing\n+    }\n+\n+    // Then, first try to parse another chained pipe\n+    val pipeTailExpr: ParseResult[PipeExpression] = pipe(input)\n+    if (pipeTailExpr.isDefined) {\n+      // If succeeded, append its childs to ours\n+      curNode append commandExpr.get\n+      curNode appendAll pipeTailExpr.get.commands\n+\n+      input.unmark()\n+      return Just(curNode)\n+    }\n+\n+    // If chained pipe wasn't parsed successfully, try to find the last command in the pipe\n+    val lastCommand: ParseResult[CommandExpression] = command(input)\n+    if (lastCommand.isEmpty) {\n+      input.reset()\n+      return Nothing\n+    }\n+\n+    curNode append commandExpr.get\n+    curNode append lastCommand.get\n+\n+    input.unmark()\n+    Just(curNode)\n+  }\n+\n+  def word(input: ResettableStream[Token]): ParseResult[Word] = {\n+    /**\n+      * Word (as Node) is just a single WordToken or single StringLiteralToken\n+      */\n+    input.mark()\n+\n+    val wordToken = input.read()\n+    if (!wordToken.exists { _.tokenType == WordToken } &&\n+        !wordToken.exists { _.tokenType == StringLiteralToken}) {\n+      input.reset()\n+      return Nothing\n+    }\n+\n+    val wordNode = Word(wordToken.get.value)\n+    input.unmark()\n+    Just(wordNode)\n+  }\n+\n+  def assignmentSign(input: ResettableStream[Token]): ParseResult[Word] = {\n+    input.mark()\n+    val assignmentToken: Option[Token] = input.read()\n+    if (! assignmentToken.exists { _.tokenType == AssignmentCharToken }) {\n+      input.reset()\n+      return Nothing\n+    }\n+\n+    val assignmentNode = Word(assignmentToken.get.value)\n+\n+    input.unmark()\n+    Just(assignmentNode)\n+  }\n+\n+  def pipeSymbol(input: ResettableStream[Token]): ParseResult[Word] = {\n+    val pipeCharToken: Option[Token] = input.read()\n+    input.mark()\n+\n+    if (!pipeCharToken.exists { _.tokenType == PipeCharToken }) {\n+      input.reset()\n+      return Nothing\n+    }\n+\n+    input.unmark()\n+    Just(Word(pipeCharToken.get.value))\n+  }\n+}","path":"src/main/scala/language/parsing/Parser.scala","position":220,"original_position":220,"commit_id":"cbd0893061c927e0361985b2a61438b01fa4bb12","original_commit_id":"cbd0893061c927e0361985b2a61438b01fa4bb12","user":{"login":"yurii-litvinov","id":706768,"avatar_url":"https://avatars.githubusercontent.com/u/706768?v=3","gravatar_id":"","url":"https://api.github.com/users/yurii-litvinov","html_url":"https://github.com/yurii-litvinov","followers_url":"https://api.github.com/users/yurii-litvinov/followers","following_url":"https://api.github.com/users/yurii-litvinov/following{/other_user}","gists_url":"https://api.github.com/users/yurii-litvinov/gists{/gist_id}","starred_url":"https://api.github.com/users/yurii-litvinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurii-litvinov/subscriptions","organizations_url":"https://api.github.com/users/yurii-litvinov/orgs","repos_url":"https://api.github.com/users/yurii-litvinov/repos","events_url":"https://api.github.com/users/yurii-litvinov/events{/privacy}","received_events_url":"https://api.github.com/users/yurii-litvinov/received_events","type":"User","site_admin":false},"body":"В Скале же была какая-то годная библиотека для написания парсеров на комбинаторах? Удобнее, чем писать рекурсивный спуск руками, как мне показалось.","created_at":"2016-12-04T13:31:31Z","updated_at":"2016-12-04T13:37:18Z","html_url":"https://github.com/dsavvinov/scala-shell/pull/1#discussion_r90777439","pull_request_url":"https://api.github.com/repos/dsavvinov/scala-shell/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/dsavvinov/scala-shell/pulls/comments/90777439"},"html":{"href":"https://github.com/dsavvinov/scala-shell/pull/1#discussion_r90777439"},"pull_request":{"href":"https://api.github.com/repos/dsavvinov/scala-shell/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/dsavvinov/scala-shell/pulls/1","id":88919825,"html_url":"https://github.com/dsavvinov/scala-shell/pull/1","diff_url":"https://github.com/dsavvinov/scala-shell/pull/1.diff","patch_url":"https://github.com/dsavvinov/scala-shell/pull/1.patch","issue_url":"https://api.github.com/repos/dsavvinov/scala-shell/issues/1","number":1,"state":"open","locked":false,"title":"Home assignment 1","user":{"login":"dsavvinov","id":6999635,"avatar_url":"https://avatars.githubusercontent.com/u/6999635?v=3","gravatar_id":"","url":"https://api.github.com/users/dsavvinov","html_url":"https://github.com/dsavvinov","followers_url":"https://api.github.com/users/dsavvinov/followers","following_url":"https://api.github.com/users/dsavvinov/following{/other_user}","gists_url":"https://api.github.com/users/dsavvinov/gists{/gist_id}","starred_url":"https://api.github.com/users/dsavvinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsavvinov/subscriptions","organizations_url":"https://api.github.com/users/dsavvinov/orgs","repos_url":"https://api.github.com/users/dsavvinov/repos","events_url":"https://api.github.com/users/dsavvinov/events{/privacy}","received_events_url":"https://api.github.com/users/dsavvinov/received_events","type":"User","site_admin":false},"body":"СПбАУ, 6 курс, Саввинов Дмитрий.\n","created_at":"2016-10-11T22:04:00Z","updated_at":"2016-12-04T13:37:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f9fc232087019cf6a18edc708bc256a58d51c1d7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dsavvinov/scala-shell/pulls/1/commits","review_comments_url":"https://api.github.com/repos/dsavvinov/scala-shell/pulls/1/comments","review_comment_url":"https://api.github.com/repos/dsavvinov/scala-shell/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dsavvinov/scala-shell/issues/1/comments","statuses_url":"https://api.github.com/repos/dsavvinov/scala-shell/statuses/cbd0893061c927e0361985b2a61438b01fa4bb12","head":{"label":"dsavvinov:ha1","ref":"ha1","sha":"cbd0893061c927e0361985b2a61438b01fa4bb12","user":{"login":"dsavvinov","id":6999635,"avatar_url":"https://avatars.githubusercontent.com/u/6999635?v=3","gravatar_id":"","url":"https://api.github.com/users/dsavvinov","html_url":"https://github.com/dsavvinov","followers_url":"https://api.github.com/users/dsavvinov/followers","following_url":"https://api.github.com/users/dsavvinov/following{/other_user}","gists_url":"https://api.github.com/users/dsavvinov/gists{/gist_id}","starred_url":"https://api.github.com/users/dsavvinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsavvinov/subscriptions","organizations_url":"https://api.github.com/users/dsavvinov/orgs","repos_url":"https://api.github.com/users/dsavvinov/repos","events_url":"https://api.github.com/users/dsavvinov/events{/privacy}","received_events_url":"https://api.github.com/users/dsavvinov/received_events","type":"User","site_admin":false},"repo":{"id":69877861,"name":"scala-shell","full_name":"dsavvinov/scala-shell","owner":{"login":"dsavvinov","id":6999635,"avatar_url":"https://avatars.githubusercontent.com/u/6999635?v=3","gravatar_id":"","url":"https://api.github.com/users/dsavvinov","html_url":"https://github.com/dsavvinov","followers_url":"https://api.github.com/users/dsavvinov/followers","following_url":"https://api.github.com/users/dsavvinov/following{/other_user}","gists_url":"https://api.github.com/users/dsavvinov/gists{/gist_id}","starred_url":"https://api.github.com/users/dsavvinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsavvinov/subscriptions","organizations_url":"https://api.github.com/users/dsavvinov/orgs","repos_url":"https://api.github.com/users/dsavvinov/repos","events_url":"https://api.github.com/users/dsavvinov/events{/privacy}","received_events_url":"https://api.github.com/users/dsavvinov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dsavvinov/scala-shell","description":"Bash-like shell, written on Scala","fork":false,"url":"https://api.github.com/repos/dsavvinov/scala-shell","forks_url":"https://api.github.com/repos/dsavvinov/scala-shell/forks","keys_url":"https://api.github.com/repos/dsavvinov/scala-shell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dsavvinov/scala-shell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dsavvinov/scala-shell/teams","hooks_url":"https://api.github.com/repos/dsavvinov/scala-shell/hooks","issue_events_url":"https://api.github.com/repos/dsavvinov/scala-shell/issues/events{/number}","events_url":"https://api.github.com/repos/dsavvinov/scala-shell/events","assignees_url":"https://api.github.com/repos/dsavvinov/scala-shell/assignees{/user}","branches_url":"https://api.github.com/repos/dsavvinov/scala-shell/branches{/branch}","tags_url":"https://api.github.com/repos/dsavvinov/scala-shell/tags","blobs_url":"https://api.github.com/repos/dsavvinov/scala-shell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dsavvinov/scala-shell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dsavvinov/scala-shell/git/refs{/sha}","trees_url":"https://api.github.com/repos/dsavvinov/scala-shell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dsavvinov/scala-shell/statuses/{sha}","languages_url":"https://api.github.com/repos/dsavvinov/scala-shell/languages","stargazers_url":"https://api.github.com/repos/dsavvinov/scala-shell/stargazers","contributors_url":"https://api.github.com/repos/dsavvinov/scala-shell/contributors","subscribers_url":"https://api.github.com/repos/dsavvinov/scala-shell/subscribers","subscription_url":"https://api.github.com/repos/dsavvinov/scala-shell/subscription","commits_url":"https://api.github.com/repos/dsavvinov/scala-shell/commits{/sha}","git_commits_url":"https://api.github.com/repos/dsavvinov/scala-shell/git/commits{/sha}","comments_url":"https://api.github.com/repos/dsavvinov/scala-shell/comments{/number}","issue_comment_url":"https://api.github.com/repos/dsavvinov/scala-shell/issues/comments{/number}","contents_url":"https://api.github.com/repos/dsavvinov/scala-shell/contents/{+path}","compare_url":"https://api.github.com/repos/dsavvinov/scala-shell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dsavvinov/scala-shell/merges","archive_url":"https://api.github.com/repos/dsavvinov/scala-shell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dsavvinov/scala-shell/downloads","issues_url":"https://api.github.com/repos/dsavvinov/scala-shell/issues{/number}","pulls_url":"https://api.github.com/repos/dsavvinov/scala-shell/pulls{/number}","milestones_url":"https://api.github.com/repos/dsavvinov/scala-shell/milestones{/number}","notifications_url":"https://api.github.com/repos/dsavvinov/scala-shell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dsavvinov/scala-shell/labels{/name}","releases_url":"https://api.github.com/repos/dsavvinov/scala-shell/releases{/id}","deployments_url":"https://api.github.com/repos/dsavvinov/scala-shell/deployments","created_at":"2016-10-03T14:21:50Z","updated_at":"2016-10-11T18:10:30Z","pushed_at":"2016-11-03T14:57:47Z","git_url":"git://github.com/dsavvinov/scala-shell.git","ssh_url":"git@github.com:dsavvinov/scala-shell.git","clone_url":"https://github.com/dsavvinov/scala-shell.git","svn_url":"https://github.com/dsavvinov/scala-shell","homepage":null,"size":1244,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"dsavvinov:master","ref":"master","sha":"409d2a1d43dfbce9d0b858611ecaa95403cb0a8c","user":{"login":"dsavvinov","id":6999635,"avatar_url":"https://avatars.githubusercontent.com/u/6999635?v=3","gravatar_id":"","url":"https://api.github.com/users/dsavvinov","html_url":"https://github.com/dsavvinov","followers_url":"https://api.github.com/users/dsavvinov/followers","following_url":"https://api.github.com/users/dsavvinov/following{/other_user}","gists_url":"https://api.github.com/users/dsavvinov/gists{/gist_id}","starred_url":"https://api.github.com/users/dsavvinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsavvinov/subscriptions","organizations_url":"https://api.github.com/users/dsavvinov/orgs","repos_url":"https://api.github.com/users/dsavvinov/repos","events_url":"https://api.github.com/users/dsavvinov/events{/privacy}","received_events_url":"https://api.github.com/users/dsavvinov/received_events","type":"User","site_admin":false},"repo":{"id":69877861,"name":"scala-shell","full_name":"dsavvinov/scala-shell","owner":{"login":"dsavvinov","id":6999635,"avatar_url":"https://avatars.githubusercontent.com/u/6999635?v=3","gravatar_id":"","url":"https://api.github.com/users/dsavvinov","html_url":"https://github.com/dsavvinov","followers_url":"https://api.github.com/users/dsavvinov/followers","following_url":"https://api.github.com/users/dsavvinov/following{/other_user}","gists_url":"https://api.github.com/users/dsavvinov/gists{/gist_id}","starred_url":"https://api.github.com/users/dsavvinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsavvinov/subscriptions","organizations_url":"https://api.github.com/users/dsavvinov/orgs","repos_url":"https://api.github.com/users/dsavvinov/repos","events_url":"https://api.github.com/users/dsavvinov/events{/privacy}","received_events_url":"https://api.github.com/users/dsavvinov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dsavvinov/scala-shell","description":"Bash-like shell, written on Scala","fork":false,"url":"https://api.github.com/repos/dsavvinov/scala-shell","forks_url":"https://api.github.com/repos/dsavvinov/scala-shell/forks","keys_url":"https://api.github.com/repos/dsavvinov/scala-shell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dsavvinov/scala-shell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dsavvinov/scala-shell/teams","hooks_url":"https://api.github.com/repos/dsavvinov/scala-shell/hooks","issue_events_url":"https://api.github.com/repos/dsavvinov/scala-shell/issues/events{/number}","events_url":"https://api.github.com/repos/dsavvinov/scala-shell/events","assignees_url":"https://api.github.com/repos/dsavvinov/scala-shell/assignees{/user}","branches_url":"https://api.github.com/repos/dsavvinov/scala-shell/branches{/branch}","tags_url":"https://api.github.com/repos/dsavvinov/scala-shell/tags","blobs_url":"https://api.github.com/repos/dsavvinov/scala-shell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dsavvinov/scala-shell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dsavvinov/scala-shell/git/refs{/sha}","trees_url":"https://api.github.com/repos/dsavvinov/scala-shell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dsavvinov/scala-shell/statuses/{sha}","languages_url":"https://api.github.com/repos/dsavvinov/scala-shell/languages","stargazers_url":"https://api.github.com/repos/dsavvinov/scala-shell/stargazers","contributors_url":"https://api.github.com/repos/dsavvinov/scala-shell/contributors","subscribers_url":"https://api.github.com/repos/dsavvinov/scala-shell/subscribers","subscription_url":"https://api.github.com/repos/dsavvinov/scala-shell/subscription","commits_url":"https://api.github.com/repos/dsavvinov/scala-shell/commits{/sha}","git_commits_url":"https://api.github.com/repos/dsavvinov/scala-shell/git/commits{/sha}","comments_url":"https://api.github.com/repos/dsavvinov/scala-shell/comments{/number}","issue_comment_url":"https://api.github.com/repos/dsavvinov/scala-shell/issues/comments{/number}","contents_url":"https://api.github.com/repos/dsavvinov/scala-shell/contents/{+path}","compare_url":"https://api.github.com/repos/dsavvinov/scala-shell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dsavvinov/scala-shell/merges","archive_url":"https://api.github.com/repos/dsavvinov/scala-shell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dsavvinov/scala-shell/downloads","issues_url":"https://api.github.com/repos/dsavvinov/scala-shell/issues{/number}","pulls_url":"https://api.github.com/repos/dsavvinov/scala-shell/pulls{/number}","milestones_url":"https://api.github.com/repos/dsavvinov/scala-shell/milestones{/number}","notifications_url":"https://api.github.com/repos/dsavvinov/scala-shell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dsavvinov/scala-shell/labels{/name}","releases_url":"https://api.github.com/repos/dsavvinov/scala-shell/releases{/id}","deployments_url":"https://api.github.com/repos/dsavvinov/scala-shell/deployments","created_at":"2016-10-03T14:21:50Z","updated_at":"2016-10-11T18:10:30Z","pushed_at":"2016-11-03T14:57:47Z","git_url":"git://github.com/dsavvinov/scala-shell.git","ssh_url":"git@github.com:dsavvinov/scala-shell.git","clone_url":"https://github.com/dsavvinov/scala-shell.git","svn_url":"https://github.com/dsavvinov/scala-shell","homepage":null,"size":1244,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dsavvinov/scala-shell/pulls/1"},"html":{"href":"https://github.com/dsavvinov/scala-shell/pull/1"},"issue":{"href":"https://api.github.com/repos/dsavvinov/scala-shell/issues/1"},"comments":{"href":"https://api.github.com/repos/dsavvinov/scala-shell/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/dsavvinov/scala-shell/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/dsavvinov/scala-shell/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dsavvinov/scala-shell/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/dsavvinov/scala-shell/statuses/cbd0893061c927e0361985b2a61438b01fa4bb12"}}}}
{"actor":{"display_login":"yurii-litvinov"}}