{"action":"opened","number":152,"pull_request":{"url":"https://api.github.com/repos/anz-bank/sysl/pulls/152","id":209029172,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5MDI5MTcy","html_url":"https://github.com/anz-bank/sysl/pull/152","diff_url":"https://github.com/anz-bank/sysl/pull/152.diff","patch_url":"https://github.com/anz-bank/sysl/pull/152.patch","issue_url":"https://api.github.com/repos/anz-bank/sysl/issues/152","number":152,"state":"open","locked":false,"title":"GoSYSL","user":{"login":"sahejsingh","id":31713463,"node_id":"MDQ6VXNlcjMxNzEzNDYz","avatar_url":"https://avatars3.githubusercontent.com/u/31713463?v=4","gravatar_id":"","url":"https://api.github.com/users/sahejsingh","html_url":"https://github.com/sahejsingh","followers_url":"https://api.github.com/users/sahejsingh/followers","following_url":"https://api.github.com/users/sahejsingh/following{/other_user}","gists_url":"https://api.github.com/users/sahejsingh/gists{/gist_id}","starred_url":"https://api.github.com/users/sahejsingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahejsingh/subscriptions","organizations_url":"https://api.github.com/users/sahejsingh/orgs","repos_url":"https://api.github.com/users/sahejsingh/repos","events_url":"https://api.github.com/users/sahejsingh/events{/privacy}","received_events_url":"https://api.github.com/users/sahejsingh/received_events","type":"User","site_admin":false},"body":"### Introducing GoSYSL\r\nSYSL implemented in GO-lang using parser & lexer generated by antlr. \r\n\r\n( Apologies in advance as this is big pull request. See below on where to start)\r\n\r\n### Main Features\r\nImplements all of the following sysl language features:\r\n- Define Application and Endpoints\r\n- Define multi-level, Rest endpoints\r\n- Recognises all of the HTTP verbs\r\n- Collector syntax (for projects)\r\n- Define parameters to endpoints and pass arguments\r\n- Tuple and Relational types\r\n- Recognises all the sysl supported data types like int, int32, int64, string, date, datetime etc. \r\n- In place definition of types\r\n- Events (pub-sub)\r\n- Mixins\r\n- Looping constructs like For, IF, Else, Loop, While, One of, Loop N, Alt, Until.\r\n- Generates text and json protobuf output. The json output is used by vscode-sysl extension to provide language support in Visual Studio Code.\r\n \r\nThe grammar diverges very slightly from the original version. It does not allow for \".\" in the Application and Endpoint names.\r\n\r\n### Known Limitations\r\n\r\n- Grammar does not handle transformation expressions yet.\r\n\r\n### Tests\r\n- See tests/*.sysl\r\n- These tests compares the textpb output generated by legacy python with the output generated by gosysl.\r\n\r\nTo help you get around, here is a bit of description.\r\n\r\nThe GO code is divided into three parts.\r\n- Generated GO code\r\n  - all in _grammar/_ directory\r\n- Handwritten GO code\r\n  -  _sysl.go_ is the main entry point \r\n  - _sysl_listener_impl.go_ is the implementation of the ANTLR generated listener interface).\r\n- Tests\r\n  - Parser_test.go\r\n\r\nThe only other files of interest are the _SyslLexer.g4_ and _SyslParser.g4_.\r\n\r\n@anz-bank/sysl-developers ","created_at":"2018-08-17T02:15:34Z","updated_at":"2018-08-17T02:15:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/anz-bank/sysl/pulls/152/commits","review_comments_url":"https://api.github.com/repos/anz-bank/sysl/pulls/152/comments","review_comment_url":"https://api.github.com/repos/anz-bank/sysl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/anz-bank/sysl/issues/152/comments","statuses_url":"https://api.github.com/repos/anz-bank/sysl/statuses/9e07bebad65b1df7b3ca2cd03da0b1aebe00db0c","head":{"label":"sahejsingh:antlr_merge","ref":"antlr_merge","sha":"9e07bebad65b1df7b3ca2cd03da0b1aebe00db0c","user":{"login":"sahejsingh","id":31713463,"node_id":"MDQ6VXNlcjMxNzEzNDYz","avatar_url":"https://avatars3.githubusercontent.com/u/31713463?v=4","gravatar_id":"","url":"https://api.github.com/users/sahejsingh","html_url":"https://github.com/sahejsingh","followers_url":"https://api.github.com/users/sahejsingh/followers","following_url":"https://api.github.com/users/sahejsingh/following{/other_user}","gists_url":"https://api.github.com/users/sahejsingh/gists{/gist_id}","starred_url":"https://api.github.com/users/sahejsingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahejsingh/subscriptions","organizations_url":"https://api.github.com/users/sahejsingh/orgs","repos_url":"https://api.github.com/users/sahejsingh/repos","events_url":"https://api.github.com/users/sahejsingh/events{/privacy}","received_events_url":"https://api.github.com/users/sahejsingh/received_events","type":"User","site_admin":false},"repo":{"id":116885568,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY4ODU1Njg=","name":"sysl","full_name":"sahejsingh/sysl","owner":{"login":"sahejsingh","id":31713463,"node_id":"MDQ6VXNlcjMxNzEzNDYz","avatar_url":"https://avatars3.githubusercontent.com/u/31713463?v=4","gravatar_id":"","url":"https://api.github.com/users/sahejsingh","html_url":"https://github.com/sahejsingh","followers_url":"https://api.github.com/users/sahejsingh/followers","following_url":"https://api.github.com/users/sahejsingh/following{/other_user}","gists_url":"https://api.github.com/users/sahejsingh/gists{/gist_id}","starred_url":"https://api.github.com/users/sahejsingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahejsingh/subscriptions","organizations_url":"https://api.github.com/users/sahejsingh/orgs","repos_url":"https://api.github.com/users/sahejsingh/repos","events_url":"https://api.github.com/users/sahejsingh/events{/privacy}","received_events_url":"https://api.github.com/users/sahejsingh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sahejsingh/sysl","description":"Sysl (pronounced \"sizzle\") is a system specification language","fork":true,"url":"https://api.github.com/repos/sahejsingh/sysl","forks_url":"https://api.github.com/repos/sahejsingh/sysl/forks","keys_url":"https://api.github.com/repos/sahejsingh/sysl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sahejsingh/sysl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sahejsingh/sysl/teams","hooks_url":"https://api.github.com/repos/sahejsingh/sysl/hooks","issue_events_url":"https://api.github.com/repos/sahejsingh/sysl/issues/events{/number}","events_url":"https://api.github.com/repos/sahejsingh/sysl/events","assignees_url":"https://api.github.com/repos/sahejsingh/sysl/assignees{/user}","branches_url":"https://api.github.com/repos/sahejsingh/sysl/branches{/branch}","tags_url":"https://api.github.com/repos/sahejsingh/sysl/tags","blobs_url":"https://api.github.com/repos/sahejsingh/sysl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sahejsingh/sysl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sahejsingh/sysl/git/refs{/sha}","trees_url":"https://api.github.com/repos/sahejsingh/sysl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sahejsingh/sysl/statuses/{sha}","languages_url":"https://api.github.com/repos/sahejsingh/sysl/languages","stargazers_url":"https://api.github.com/repos/sahejsingh/sysl/stargazers","contributors_url":"https://api.github.com/repos/sahejsingh/sysl/contributors","subscribers_url":"https://api.github.com/repos/sahejsingh/sysl/subscribers","subscription_url":"https://api.github.com/repos/sahejsingh/sysl/subscription","commits_url":"https://api.github.com/repos/sahejsingh/sysl/commits{/sha}","git_commits_url":"https://api.github.com/repos/sahejsingh/sysl/git/commits{/sha}","comments_url":"https://api.github.com/repos/sahejsingh/sysl/comments{/number}","issue_comment_url":"https://api.github.com/repos/sahejsingh/sysl/issues/comments{/number}","contents_url":"https://api.github.com/repos/sahejsingh/sysl/contents/{+path}","compare_url":"https://api.github.com/repos/sahejsingh/sysl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sahejsingh/sysl/merges","archive_url":"https://api.github.com/repos/sahejsingh/sysl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sahejsingh/sysl/downloads","issues_url":"https://api.github.com/repos/sahejsingh/sysl/issues{/number}","pulls_url":"https://api.github.com/repos/sahejsingh/sysl/pulls{/number}","milestones_url":"https://api.github.com/repos/sahejsingh/sysl/milestones{/number}","notifications_url":"https://api.github.com/repos/sahejsingh/sysl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sahejsingh/sysl/labels{/name}","releases_url":"https://api.github.com/repos/sahejsingh/sysl/releases{/id}","deployments_url":"https://api.github.com/repos/sahejsingh/sysl/deployments","created_at":"2018-01-10T00:08:18Z","updated_at":"2018-08-17T01:08:00Z","pushed_at":"2018-08-17T02:15:22Z","git_url":"git://github.com/sahejsingh/sysl.git","ssh_url":"git@github.com:sahejsingh/sysl.git","clone_url":"https://github.com/sahejsingh/sysl.git","svn_url":"https://github.com/sahejsingh/sysl","homepage":"","size":5189,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"anz-bank:master","ref":"master","sha":"f75e12c1eb771f2f32b31720af959c8e166cf7a3","user":{"login":"anz-bank","id":20446890,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNDQ2ODkw","avatar_url":"https://avatars1.githubusercontent.com/u/20446890?v=4","gravatar_id":"","url":"https://api.github.com/users/anz-bank","html_url":"https://github.com/anz-bank","followers_url":"https://api.github.com/users/anz-bank/followers","following_url":"https://api.github.com/users/anz-bank/following{/other_user}","gists_url":"https://api.github.com/users/anz-bank/gists{/gist_id}","starred_url":"https://api.github.com/users/anz-bank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anz-bank/subscriptions","organizations_url":"https://api.github.com/users/anz-bank/orgs","repos_url":"https://api.github.com/users/anz-bank/repos","events_url":"https://api.github.com/users/anz-bank/events{/privacy}","received_events_url":"https://api.github.com/users/anz-bank/received_events","type":"Organization","site_admin":false},"repo":{"id":63280456,"node_id":"MDEwOlJlcG9zaXRvcnk2MzI4MDQ1Ng==","name":"sysl","full_name":"anz-bank/sysl","owner":{"login":"anz-bank","id":20446890,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNDQ2ODkw","avatar_url":"https://avatars1.githubusercontent.com/u/20446890?v=4","gravatar_id":"","url":"https://api.github.com/users/anz-bank","html_url":"https://github.com/anz-bank","followers_url":"https://api.github.com/users/anz-bank/followers","following_url":"https://api.github.com/users/anz-bank/following{/other_user}","gists_url":"https://api.github.com/users/anz-bank/gists{/gist_id}","starred_url":"https://api.github.com/users/anz-bank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anz-bank/subscriptions","organizations_url":"https://api.github.com/users/anz-bank/orgs","repos_url":"https://api.github.com/users/anz-bank/repos","events_url":"https://api.github.com/users/anz-bank/events{/privacy}","received_events_url":"https://api.github.com/users/anz-bank/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/anz-bank/sysl","description":"Sysl (pronounced \"sizzle\") is a system specification language","fork":false,"url":"https://api.github.com/repos/anz-bank/sysl","forks_url":"https://api.github.com/repos/anz-bank/sysl/forks","keys_url":"https://api.github.com/repos/anz-bank/sysl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anz-bank/sysl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anz-bank/sysl/teams","hooks_url":"https://api.github.com/repos/anz-bank/sysl/hooks","issue_events_url":"https://api.github.com/repos/anz-bank/sysl/issues/events{/number}","events_url":"https://api.github.com/repos/anz-bank/sysl/events","assignees_url":"https://api.github.com/repos/anz-bank/sysl/assignees{/user}","branches_url":"https://api.github.com/repos/anz-bank/sysl/branches{/branch}","tags_url":"https://api.github.com/repos/anz-bank/sysl/tags","blobs_url":"https://api.github.com/repos/anz-bank/sysl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anz-bank/sysl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anz-bank/sysl/git/refs{/sha}","trees_url":"https://api.github.com/repos/anz-bank/sysl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anz-bank/sysl/statuses/{sha}","languages_url":"https://api.github.com/repos/anz-bank/sysl/languages","stargazers_url":"https://api.github.com/repos/anz-bank/sysl/stargazers","contributors_url":"https://api.github.com/repos/anz-bank/sysl/contributors","subscribers_url":"https://api.github.com/repos/anz-bank/sysl/subscribers","subscription_url":"https://api.github.com/repos/anz-bank/sysl/subscription","commits_url":"https://api.github.com/repos/anz-bank/sysl/commits{/sha}","git_commits_url":"https://api.github.com/repos/anz-bank/sysl/git/commits{/sha}","comments_url":"https://api.github.com/repos/anz-bank/sysl/comments{/number}","issue_comment_url":"https://api.github.com/repos/anz-bank/sysl/issues/comments{/number}","contents_url":"https://api.github.com/repos/anz-bank/sysl/contents/{+path}","compare_url":"https://api.github.com/repos/anz-bank/sysl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anz-bank/sysl/merges","archive_url":"https://api.github.com/repos/anz-bank/sysl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anz-bank/sysl/downloads","issues_url":"https://api.github.com/repos/anz-bank/sysl/issues{/number}","pulls_url":"https://api.github.com/repos/anz-bank/sysl/pulls{/number}","milestones_url":"https://api.github.com/repos/anz-bank/sysl/milestones{/number}","notifications_url":"https://api.github.com/repos/anz-bank/sysl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anz-bank/sysl/labels{/name}","releases_url":"https://api.github.com/repos/anz-bank/sysl/releases{/id}","deployments_url":"https://api.github.com/repos/anz-bank/sysl/deployments","created_at":"2016-07-13T21:22:21Z","updated_at":"2018-07-23T00:09:33Z","pushed_at":"2018-07-23T00:09:31Z","git_url":"git://github.com/anz-bank/sysl.git","ssh_url":"git@github.com:anz-bank/sysl.git","clone_url":"https://github.com/anz-bank/sysl.git","svn_url":"https://github.com/anz-bank/sysl","homepage":"https://sysl.io","size":2704,"stargazers_count":21,"watchers_count":21,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":13,"open_issues":11,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/anz-bank/sysl/pulls/152"},"html":{"href":"https://github.com/anz-bank/sysl/pull/152"},"issue":{"href":"https://api.github.com/repos/anz-bank/sysl/issues/152"},"comments":{"href":"https://api.github.com/repos/anz-bank/sysl/issues/152/comments"},"review_comments":{"href":"https://api.github.com/repos/anz-bank/sysl/pulls/152/comments"},"review_comment":{"href":"https://api.github.com/repos/anz-bank/sysl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/anz-bank/sysl/pulls/152/commits"},"statuses":{"href":"https://api.github.com/repos/anz-bank/sysl/statuses/9e07bebad65b1df7b3ca2cd03da0b1aebe00db0c"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":52,"additions":24331,"deletions":1,"changed_files":47}}
{"actor":{"display_login":"sahejsingh"}}