{"action":"created","comment":{"url":"https://api.github.com/repos/SAP/chevrotain/pulls/comments/90746234","pull_request_review_id":11267323,"id":90746234,"diff_hunk":"@@ -0,0 +1,97 @@\n+chevrotain = require 'chevrotain'\n+Token = chevrotain.Token\n+Lexer = chevrotain.Lexer\n+Parser = chevrotain.Parser\n+\n+class True extends Token\n+  @PATTERN: /true/\n+\n+class False extends Token\n+  @PATTERN: /false/\n+\n+class Null extends Token\n+  @PATTERN: /null/\n+\n+class LCurly extends Token\n+  @PATTERN: /{/\n+\n+class RCurly extends Token\n+  @PATTERN: /}/\n+\n+class LSquare extends Token\n+  @PATTERN: /\\[/\n+\n+class RSquare extends Token\n+  @PATTERN: /]/\n+\n+class Comma extends Token\n+  @PATTERN: /,/\n+\n+class Colon extends Token\n+  @PATTERN: /:/\n+\n+class StringLiteral extends Token\n+  @PATTERN: /\"(:?[^\\\\\"]+|\\\\(:?[bfnrtv\"\\\\/]|u[0-9a-fA-F]{4}))*\"/\n+\n+class NumberLiteral extends Token\n+  @PATTERN: /-?(0|[1-9]\\d*)(\\.\\d+)?([eE][+-]?\\d+)?/\n+\n+class WhiteSpace extends Token\n+  @PATTERN = /\\s+/\n+  @GROUP = Lexer.SKIPPED\n+\n+allTokens = [WhiteSpace, NumberLiteral, StringLiteral, LCurly, RCurly, LSquare, RSquare, Comma, Colon, True, False, Null]\n+JsonLexer = new Lexer allTokens\n+\n+class JsonParserCoffeeScript extends Parser\n+  constructor: (input) ->\n+    super input, allTokens\n+\n+    @RULE \"json\", =>\n+      @.OR [\n+        {ALT: => @.SUBRULE @.object}\n+        {ALT: => @.SUBRULE @.array}\n+      ]\n+\n+    @RULE \"object\", =>\n+      @.CONSUME LCurly\n+      @.MANY_SEP Comma, =>\n+        @.SUBRULE2 @.objectItem\n+      @.CONSUME RCurly\n+\n+    @RULE \"objectItem\", =>\n+      @.CONSUME StringLiteral","path":"examples/implementation_languages/coffeescript/coffeescript_json.coffee","position":63,"original_position":63,"commit_id":"3a3d3dd9f422d963dca69d2c8797a68f1edc57de","original_commit_id":"3a3d3dd9f422d963dca69d2c8797a68f1edc57de","user":{"login":"bd82","id":4233843,"avatar_url":"https://avatars.githubusercontent.com/u/4233843?v=3","gravatar_id":"","url":"https://api.github.com/users/bd82","html_url":"https://github.com/bd82","followers_url":"https://api.github.com/users/bd82/followers","following_url":"https://api.github.com/users/bd82/following{/other_user}","gists_url":"https://api.github.com/users/bd82/gists{/gist_id}","starred_url":"https://api.github.com/users/bd82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bd82/subscriptions","organizations_url":"https://api.github.com/users/bd82/orgs","repos_url":"https://api.github.com/users/bd82/repos","events_url":"https://api.github.com/users/bd82/events{/privacy}","received_events_url":"https://api.github.com/users/bd82/received_events","type":"User","site_admin":false},"body":"@elidoran \r\n\r\nPerhaps you will be interested in this as you mentioned you write mostly in CoffeeScript.\r\n","created_at":"2016-12-03T01:22:09Z","updated_at":"2016-12-03T01:22:09Z","html_url":"https://github.com/SAP/chevrotain/pull/319#discussion_r90746234","pull_request_url":"https://api.github.com/repos/SAP/chevrotain/pulls/319","_links":{"self":{"href":"https://api.github.com/repos/SAP/chevrotain/pulls/comments/90746234"},"html":{"href":"https://github.com/SAP/chevrotain/pull/319#discussion_r90746234"},"pull_request":{"href":"https://api.github.com/repos/SAP/chevrotain/pulls/319"}}},"pull_request":{"url":"https://api.github.com/repos/SAP/chevrotain/pulls/319","id":96379893,"html_url":"https://github.com/SAP/chevrotain/pull/319","diff_url":"https://github.com/SAP/chevrotain/pull/319.diff","patch_url":"https://github.com/SAP/chevrotain/pull/319.patch","issue_url":"https://api.github.com/repos/SAP/chevrotain/issues/319","number":319,"state":"open","locked":false,"title":"Examples of using Chevrotain using different implementation Languages.","user":{"login":"bd82","id":4233843,"avatar_url":"https://avatars.githubusercontent.com/u/4233843?v=3","gravatar_id":"","url":"https://api.github.com/users/bd82","html_url":"https://github.com/bd82","followers_url":"https://api.github.com/users/bd82/followers","following_url":"https://api.github.com/users/bd82/following{/other_user}","gists_url":"https://api.github.com/users/bd82/gists{/gist_id}","starred_url":"https://api.github.com/users/bd82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bd82/subscriptions","organizations_url":"https://api.github.com/users/bd82/orgs","repos_url":"https://api.github.com/users/bd82/repos","events_url":"https://api.github.com/users/bd82/events{/privacy}","received_events_url":"https://api.github.com/users/bd82/received_events","type":"User","site_admin":false},"body":"Relates to #317","created_at":"2016-12-03T01:19:35Z","updated_at":"2016-12-03T01:22:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"635a9dabe878db32ee66038fd17d3c7e03790512","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/SAP/chevrotain/pulls/319/commits","review_comments_url":"https://api.github.com/repos/SAP/chevrotain/pulls/319/comments","review_comment_url":"https://api.github.com/repos/SAP/chevrotain/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SAP/chevrotain/issues/319/comments","statuses_url":"https://api.github.com/repos/SAP/chevrotain/statuses/3a3d3dd9f422d963dca69d2c8797a68f1edc57de","head":{"label":"SAP:impl_languages","ref":"impl_languages","sha":"3a3d3dd9f422d963dca69d2c8797a68f1edc57de","user":{"login":"SAP","id":2531208,"avatar_url":"https://avatars.githubusercontent.com/u/2531208?v=3","gravatar_id":"","url":"https://api.github.com/users/SAP","html_url":"https://github.com/SAP","followers_url":"https://api.github.com/users/SAP/followers","following_url":"https://api.github.com/users/SAP/following{/other_user}","gists_url":"https://api.github.com/users/SAP/gists{/gist_id}","starred_url":"https://api.github.com/users/SAP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SAP/subscriptions","organizations_url":"https://api.github.com/users/SAP/orgs","repos_url":"https://api.github.com/users/SAP/repos","events_url":"https://api.github.com/users/SAP/events{/privacy}","received_events_url":"https://api.github.com/users/SAP/received_events","type":"Organization","site_admin":false},"repo":{"id":34021217,"name":"chevrotain","full_name":"SAP/chevrotain","owner":{"login":"SAP","id":2531208,"avatar_url":"https://avatars.githubusercontent.com/u/2531208?v=3","gravatar_id":"","url":"https://api.github.com/users/SAP","html_url":"https://github.com/SAP","followers_url":"https://api.github.com/users/SAP/followers","following_url":"https://api.github.com/users/SAP/following{/other_user}","gists_url":"https://api.github.com/users/SAP/gists{/gist_id}","starred_url":"https://api.github.com/users/SAP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SAP/subscriptions","organizations_url":"https://api.github.com/users/SAP/orgs","repos_url":"https://api.github.com/users/SAP/repos","events_url":"https://api.github.com/users/SAP/events{/privacy}","received_events_url":"https://api.github.com/users/SAP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SAP/chevrotain","description":"JavaScript Parsing DSL","fork":false,"url":"https://api.github.com/repos/SAP/chevrotain","forks_url":"https://api.github.com/repos/SAP/chevrotain/forks","keys_url":"https://api.github.com/repos/SAP/chevrotain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SAP/chevrotain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SAP/chevrotain/teams","hooks_url":"https://api.github.com/repos/SAP/chevrotain/hooks","issue_events_url":"https://api.github.com/repos/SAP/chevrotain/issues/events{/number}","events_url":"https://api.github.com/repos/SAP/chevrotain/events","assignees_url":"https://api.github.com/repos/SAP/chevrotain/assignees{/user}","branches_url":"https://api.github.com/repos/SAP/chevrotain/branches{/branch}","tags_url":"https://api.github.com/repos/SAP/chevrotain/tags","blobs_url":"https://api.github.com/repos/SAP/chevrotain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SAP/chevrotain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SAP/chevrotain/git/refs{/sha}","trees_url":"https://api.github.com/repos/SAP/chevrotain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SAP/chevrotain/statuses/{sha}","languages_url":"https://api.github.com/repos/SAP/chevrotain/languages","stargazers_url":"https://api.github.com/repos/SAP/chevrotain/stargazers","contributors_url":"https://api.github.com/repos/SAP/chevrotain/contributors","subscribers_url":"https://api.github.com/repos/SAP/chevrotain/subscribers","subscription_url":"https://api.github.com/repos/SAP/chevrotain/subscription","commits_url":"https://api.github.com/repos/SAP/chevrotain/commits{/sha}","git_commits_url":"https://api.github.com/repos/SAP/chevrotain/git/commits{/sha}","comments_url":"https://api.github.com/repos/SAP/chevrotain/comments{/number}","issue_comment_url":"https://api.github.com/repos/SAP/chevrotain/issues/comments{/number}","contents_url":"https://api.github.com/repos/SAP/chevrotain/contents/{+path}","compare_url":"https://api.github.com/repos/SAP/chevrotain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SAP/chevrotain/merges","archive_url":"https://api.github.com/repos/SAP/chevrotain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SAP/chevrotain/downloads","issues_url":"https://api.github.com/repos/SAP/chevrotain/issues{/number}","pulls_url":"https://api.github.com/repos/SAP/chevrotain/pulls{/number}","milestones_url":"https://api.github.com/repos/SAP/chevrotain/milestones{/number}","notifications_url":"https://api.github.com/repos/SAP/chevrotain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SAP/chevrotain/labels{/name}","releases_url":"https://api.github.com/repos/SAP/chevrotain/releases{/id}","deployments_url":"https://api.github.com/repos/SAP/chevrotain/deployments","created_at":"2015-04-15T22:10:34Z","updated_at":"2016-12-02T06:41:42Z","pushed_at":"2016-12-03T01:21:00Z","git_url":"git://github.com/SAP/chevrotain.git","ssh_url":"git@github.com:SAP/chevrotain.git","clone_url":"https://github.com/SAP/chevrotain.git","svn_url":"https://github.com/SAP/chevrotain","homepage":"","size":8509,"stargazers_count":294,"watchers_count":294,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":13,"mirror_url":null,"open_issues_count":27,"forks":13,"open_issues":27,"watchers":294,"default_branch":"master"}},"base":{"label":"SAP:master","ref":"master","sha":"22c381b0272bbf1eea6a501e39e4c02a6793c368","user":{"login":"SAP","id":2531208,"avatar_url":"https://avatars.githubusercontent.com/u/2531208?v=3","gravatar_id":"","url":"https://api.github.com/users/SAP","html_url":"https://github.com/SAP","followers_url":"https://api.github.com/users/SAP/followers","following_url":"https://api.github.com/users/SAP/following{/other_user}","gists_url":"https://api.github.com/users/SAP/gists{/gist_id}","starred_url":"https://api.github.com/users/SAP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SAP/subscriptions","organizations_url":"https://api.github.com/users/SAP/orgs","repos_url":"https://api.github.com/users/SAP/repos","events_url":"https://api.github.com/users/SAP/events{/privacy}","received_events_url":"https://api.github.com/users/SAP/received_events","type":"Organization","site_admin":false},"repo":{"id":34021217,"name":"chevrotain","full_name":"SAP/chevrotain","owner":{"login":"SAP","id":2531208,"avatar_url":"https://avatars.githubusercontent.com/u/2531208?v=3","gravatar_id":"","url":"https://api.github.com/users/SAP","html_url":"https://github.com/SAP","followers_url":"https://api.github.com/users/SAP/followers","following_url":"https://api.github.com/users/SAP/following{/other_user}","gists_url":"https://api.github.com/users/SAP/gists{/gist_id}","starred_url":"https://api.github.com/users/SAP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SAP/subscriptions","organizations_url":"https://api.github.com/users/SAP/orgs","repos_url":"https://api.github.com/users/SAP/repos","events_url":"https://api.github.com/users/SAP/events{/privacy}","received_events_url":"https://api.github.com/users/SAP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SAP/chevrotain","description":"JavaScript Parsing DSL","fork":false,"url":"https://api.github.com/repos/SAP/chevrotain","forks_url":"https://api.github.com/repos/SAP/chevrotain/forks","keys_url":"https://api.github.com/repos/SAP/chevrotain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SAP/chevrotain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SAP/chevrotain/teams","hooks_url":"https://api.github.com/repos/SAP/chevrotain/hooks","issue_events_url":"https://api.github.com/repos/SAP/chevrotain/issues/events{/number}","events_url":"https://api.github.com/repos/SAP/chevrotain/events","assignees_url":"https://api.github.com/repos/SAP/chevrotain/assignees{/user}","branches_url":"https://api.github.com/repos/SAP/chevrotain/branches{/branch}","tags_url":"https://api.github.com/repos/SAP/chevrotain/tags","blobs_url":"https://api.github.com/repos/SAP/chevrotain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SAP/chevrotain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SAP/chevrotain/git/refs{/sha}","trees_url":"https://api.github.com/repos/SAP/chevrotain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SAP/chevrotain/statuses/{sha}","languages_url":"https://api.github.com/repos/SAP/chevrotain/languages","stargazers_url":"https://api.github.com/repos/SAP/chevrotain/stargazers","contributors_url":"https://api.github.com/repos/SAP/chevrotain/contributors","subscribers_url":"https://api.github.com/repos/SAP/chevrotain/subscribers","subscription_url":"https://api.github.com/repos/SAP/chevrotain/subscription","commits_url":"https://api.github.com/repos/SAP/chevrotain/commits{/sha}","git_commits_url":"https://api.github.com/repos/SAP/chevrotain/git/commits{/sha}","comments_url":"https://api.github.com/repos/SAP/chevrotain/comments{/number}","issue_comment_url":"https://api.github.com/repos/SAP/chevrotain/issues/comments{/number}","contents_url":"https://api.github.com/repos/SAP/chevrotain/contents/{+path}","compare_url":"https://api.github.com/repos/SAP/chevrotain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SAP/chevrotain/merges","archive_url":"https://api.github.com/repos/SAP/chevrotain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SAP/chevrotain/downloads","issues_url":"https://api.github.com/repos/SAP/chevrotain/issues{/number}","pulls_url":"https://api.github.com/repos/SAP/chevrotain/pulls{/number}","milestones_url":"https://api.github.com/repos/SAP/chevrotain/milestones{/number}","notifications_url":"https://api.github.com/repos/SAP/chevrotain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SAP/chevrotain/labels{/name}","releases_url":"https://api.github.com/repos/SAP/chevrotain/releases{/id}","deployments_url":"https://api.github.com/repos/SAP/chevrotain/deployments","created_at":"2015-04-15T22:10:34Z","updated_at":"2016-12-02T06:41:42Z","pushed_at":"2016-12-03T01:21:00Z","git_url":"git://github.com/SAP/chevrotain.git","ssh_url":"git@github.com:SAP/chevrotain.git","clone_url":"https://github.com/SAP/chevrotain.git","svn_url":"https://github.com/SAP/chevrotain","homepage":"","size":8509,"stargazers_count":294,"watchers_count":294,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":13,"mirror_url":null,"open_issues_count":27,"forks":13,"open_issues":27,"watchers":294,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SAP/chevrotain/pulls/319"},"html":{"href":"https://github.com/SAP/chevrotain/pull/319"},"issue":{"href":"https://api.github.com/repos/SAP/chevrotain/issues/319"},"comments":{"href":"https://api.github.com/repos/SAP/chevrotain/issues/319/comments"},"review_comments":{"href":"https://api.github.com/repos/SAP/chevrotain/pulls/319/comments"},"review_comment":{"href":"https://api.github.com/repos/SAP/chevrotain/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SAP/chevrotain/pulls/319/commits"},"statuses":{"href":"https://api.github.com/repos/SAP/chevrotain/statuses/3a3d3dd9f422d963dca69d2c8797a68f1edc57de"}}}}
{"actor":{"display_login":"bd82"}}