{"action":"closed","number":270,"pull_request":{"url":"https://api.github.com/repos/zdevito/terra/pulls/270","id":171188763,"html_url":"https://github.com/zdevito/terra/pull/270","diff_url":"https://github.com/zdevito/terra/pull/270.diff","patch_url":"https://github.com/zdevito/terra/pull/270.patch","issue_url":"https://api.github.com/repos/zdevito/terra/issues/270","number":270,"state":"closed","locked":false,"title":":art: :new: Command line option -e","user":{"login":"jleija","id":27902025,"avatar_url":"https://avatars0.githubusercontent.com/u/27902025?v=4","gravatar_id":"","url":"https://api.github.com/users/jleija","html_url":"https://github.com/jleija","followers_url":"https://api.github.com/users/jleija/followers","following_url":"https://api.github.com/users/jleija/following{/other_user}","gists_url":"https://api.github.com/users/jleija/gists{/gist_id}","starred_url":"https://api.github.com/users/jleija/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleija/subscriptions","organizations_url":"https://api.github.com/users/jleija/orgs","repos_url":"https://api.github.com/users/jleija/repos","events_url":"https://api.github.com/users/jleija/events{/privacy}","received_events_url":"https://api.github.com/users/jleija/received_events","type":"User","site_admin":false},"body":"Problem:\r\n- terra does not support command line option -e\r\n- this makes it difficult to use terra as a drop-in replacement for other lua implementations when doing scripting\r\n- it is useful to evaluate/run a terra chunk of code in the command line\r\n\r\nSolution:\r\n- add a new command-line option -e with the same semantics as other lua implementations\r\n\r\nExample: ./terra -e 'c = terralib.includec(\"stdio.h\"); c.printf(\"Hello World!\\n\")'","created_at":"2018-02-24T17:40:18Z","updated_at":"2018-02-28T22:25:19Z","closed_at":"2018-02-28T22:25:19Z","merged_at":"2018-02-28T22:25:19Z","merge_commit_sha":"ddac614c437a35d767eca7fcaffca030649740db","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/zdevito/terra/pulls/270/commits","review_comments_url":"https://api.github.com/repos/zdevito/terra/pulls/270/comments","review_comment_url":"https://api.github.com/repos/zdevito/terra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zdevito/terra/issues/270/comments","statuses_url":"https://api.github.com/repos/zdevito/terra/statuses/3e8b66b4f28cce06defaffbec38a7c6139d27885","head":{"label":"jleija:cmd_line_option_e","ref":"cmd_line_option_e","sha":"3e8b66b4f28cce06defaffbec38a7c6139d27885","user":{"login":"jleija","id":27902025,"avatar_url":"https://avatars0.githubusercontent.com/u/27902025?v=4","gravatar_id":"","url":"https://api.github.com/users/jleija","html_url":"https://github.com/jleija","followers_url":"https://api.github.com/users/jleija/followers","following_url":"https://api.github.com/users/jleija/following{/other_user}","gists_url":"https://api.github.com/users/jleija/gists{/gist_id}","starred_url":"https://api.github.com/users/jleija/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleija/subscriptions","organizations_url":"https://api.github.com/users/jleija/orgs","repos_url":"https://api.github.com/users/jleija/repos","events_url":"https://api.github.com/users/jleija/events{/privacy}","received_events_url":"https://api.github.com/users/jleija/received_events","type":"User","site_admin":false},"repo":{"id":89099645,"name":"terra","full_name":"jleija/terra","owner":{"login":"jleija","id":27902025,"avatar_url":"https://avatars0.githubusercontent.com/u/27902025?v=4","gravatar_id":"","url":"https://api.github.com/users/jleija","html_url":"https://github.com/jleija","followers_url":"https://api.github.com/users/jleija/followers","following_url":"https://api.github.com/users/jleija/following{/other_user}","gists_url":"https://api.github.com/users/jleija/gists{/gist_id}","starred_url":"https://api.github.com/users/jleija/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleija/subscriptions","organizations_url":"https://api.github.com/users/jleija/orgs","repos_url":"https://api.github.com/users/jleija/repos","events_url":"https://api.github.com/users/jleija/events{/privacy}","received_events_url":"https://api.github.com/users/jleija/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jleija/terra","description":"Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language.","fork":true,"url":"https://api.github.com/repos/jleija/terra","forks_url":"https://api.github.com/repos/jleija/terra/forks","keys_url":"https://api.github.com/repos/jleija/terra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jleija/terra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jleija/terra/teams","hooks_url":"https://api.github.com/repos/jleija/terra/hooks","issue_events_url":"https://api.github.com/repos/jleija/terra/issues/events{/number}","events_url":"https://api.github.com/repos/jleija/terra/events","assignees_url":"https://api.github.com/repos/jleija/terra/assignees{/user}","branches_url":"https://api.github.com/repos/jleija/terra/branches{/branch}","tags_url":"https://api.github.com/repos/jleija/terra/tags","blobs_url":"https://api.github.com/repos/jleija/terra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jleija/terra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jleija/terra/git/refs{/sha}","trees_url":"https://api.github.com/repos/jleija/terra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jleija/terra/statuses/{sha}","languages_url":"https://api.github.com/repos/jleija/terra/languages","stargazers_url":"https://api.github.com/repos/jleija/terra/stargazers","contributors_url":"https://api.github.com/repos/jleija/terra/contributors","subscribers_url":"https://api.github.com/repos/jleija/terra/subscribers","subscription_url":"https://api.github.com/repos/jleija/terra/subscription","commits_url":"https://api.github.com/repos/jleija/terra/commits{/sha}","git_commits_url":"https://api.github.com/repos/jleija/terra/git/commits{/sha}","comments_url":"https://api.github.com/repos/jleija/terra/comments{/number}","issue_comment_url":"https://api.github.com/repos/jleija/terra/issues/comments{/number}","contents_url":"https://api.github.com/repos/jleija/terra/contents/{+path}","compare_url":"https://api.github.com/repos/jleija/terra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jleija/terra/merges","archive_url":"https://api.github.com/repos/jleija/terra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jleija/terra/downloads","issues_url":"https://api.github.com/repos/jleija/terra/issues{/number}","pulls_url":"https://api.github.com/repos/jleija/terra/pulls{/number}","milestones_url":"https://api.github.com/repos/jleija/terra/milestones{/number}","notifications_url":"https://api.github.com/repos/jleija/terra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jleija/terra/labels{/name}","releases_url":"https://api.github.com/repos/jleija/terra/releases{/id}","deployments_url":"https://api.github.com/repos/jleija/terra/deployments","created_at":"2017-04-22T21:15:36Z","updated_at":"2017-04-22T21:15:39Z","pushed_at":"2018-02-24T17:29:24Z","git_url":"git://github.com/jleija/terra.git","ssh_url":"git@github.com:jleija/terra.git","clone_url":"https://github.com/jleija/terra.git","svn_url":"https://github.com/jleija/terra","homepage":"terralang.org","size":6254,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zdevito:master","ref":"master","sha":"d085fe5b98190e4236711f9fc34667c1c4816247","user":{"login":"zdevito","id":370202,"avatar_url":"https://avatars0.githubusercontent.com/u/370202?v=4","gravatar_id":"","url":"https://api.github.com/users/zdevito","html_url":"https://github.com/zdevito","followers_url":"https://api.github.com/users/zdevito/followers","following_url":"https://api.github.com/users/zdevito/following{/other_user}","gists_url":"https://api.github.com/users/zdevito/gists{/gist_id}","starred_url":"https://api.github.com/users/zdevito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zdevito/subscriptions","organizations_url":"https://api.github.com/users/zdevito/orgs","repos_url":"https://api.github.com/users/zdevito/repos","events_url":"https://api.github.com/users/zdevito/events{/privacy}","received_events_url":"https://api.github.com/users/zdevito/received_events","type":"User","site_admin":false},"repo":{"id":5939005,"name":"terra","full_name":"zdevito/terra","owner":{"login":"zdevito","id":370202,"avatar_url":"https://avatars0.githubusercontent.com/u/370202?v=4","gravatar_id":"","url":"https://api.github.com/users/zdevito","html_url":"https://github.com/zdevito","followers_url":"https://api.github.com/users/zdevito/followers","following_url":"https://api.github.com/users/zdevito/following{/other_user}","gists_url":"https://api.github.com/users/zdevito/gists{/gist_id}","starred_url":"https://api.github.com/users/zdevito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zdevito/subscriptions","organizations_url":"https://api.github.com/users/zdevito/orgs","repos_url":"https://api.github.com/users/zdevito/repos","events_url":"https://api.github.com/users/zdevito/events{/privacy}","received_events_url":"https://api.github.com/users/zdevito/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zdevito/terra","description":"Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language.","fork":false,"url":"https://api.github.com/repos/zdevito/terra","forks_url":"https://api.github.com/repos/zdevito/terra/forks","keys_url":"https://api.github.com/repos/zdevito/terra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zdevito/terra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zdevito/terra/teams","hooks_url":"https://api.github.com/repos/zdevito/terra/hooks","issue_events_url":"https://api.github.com/repos/zdevito/terra/issues/events{/number}","events_url":"https://api.github.com/repos/zdevito/terra/events","assignees_url":"https://api.github.com/repos/zdevito/terra/assignees{/user}","branches_url":"https://api.github.com/repos/zdevito/terra/branches{/branch}","tags_url":"https://api.github.com/repos/zdevito/terra/tags","blobs_url":"https://api.github.com/repos/zdevito/terra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zdevito/terra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zdevito/terra/git/refs{/sha}","trees_url":"https://api.github.com/repos/zdevito/terra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zdevito/terra/statuses/{sha}","languages_url":"https://api.github.com/repos/zdevito/terra/languages","stargazers_url":"https://api.github.com/repos/zdevito/terra/stargazers","contributors_url":"https://api.github.com/repos/zdevito/terra/contributors","subscribers_url":"https://api.github.com/repos/zdevito/terra/subscribers","subscription_url":"https://api.github.com/repos/zdevito/terra/subscription","commits_url":"https://api.github.com/repos/zdevito/terra/commits{/sha}","git_commits_url":"https://api.github.com/repos/zdevito/terra/git/commits{/sha}","comments_url":"https://api.github.com/repos/zdevito/terra/comments{/number}","issue_comment_url":"https://api.github.com/repos/zdevito/terra/issues/comments{/number}","contents_url":"https://api.github.com/repos/zdevito/terra/contents/{+path}","compare_url":"https://api.github.com/repos/zdevito/terra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zdevito/terra/merges","archive_url":"https://api.github.com/repos/zdevito/terra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zdevito/terra/downloads","issues_url":"https://api.github.com/repos/zdevito/terra/issues{/number}","pulls_url":"https://api.github.com/repos/zdevito/terra/pulls{/number}","milestones_url":"https://api.github.com/repos/zdevito/terra/milestones{/number}","notifications_url":"https://api.github.com/repos/zdevito/terra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zdevito/terra/labels{/name}","releases_url":"https://api.github.com/repos/zdevito/terra/releases{/id}","deployments_url":"https://api.github.com/repos/zdevito/terra/deployments","created_at":"2012-09-24T18:38:51Z","updated_at":"2018-02-28T15:39:46Z","pushed_at":"2018-02-28T22:25:19Z","git_url":"git://github.com/zdevito/terra.git","ssh_url":"git@github.com:zdevito/terra.git","clone_url":"https://github.com/zdevito/terra.git","svn_url":"https://github.com/zdevito/terra","homepage":"terralang.org","size":6254,"stargazers_count":1636,"watchers_count":1636,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":134,"mirror_url":null,"archived":false,"open_issues_count":92,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":134,"open_issues":92,"watchers":1636,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zdevito/terra/pulls/270"},"html":{"href":"https://github.com/zdevito/terra/pull/270"},"issue":{"href":"https://api.github.com/repos/zdevito/terra/issues/270"},"comments":{"href":"https://api.github.com/repos/zdevito/terra/issues/270/comments"},"review_comments":{"href":"https://api.github.com/repos/zdevito/terra/pulls/270/comments"},"review_comment":{"href":"https://api.github.com/repos/zdevito/terra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zdevito/terra/pulls/270/commits"},"statuses":{"href":"https://api.github.com/repos/zdevito/terra/statuses/3e8b66b4f28cce06defaffbec38a7c6139d27885"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"elliottslaughter","id":3129,"avatar_url":"https://avatars0.githubusercontent.com/u/3129?v=4","gravatar_id":"","url":"https://api.github.com/users/elliottslaughter","html_url":"https://github.com/elliottslaughter","followers_url":"https://api.github.com/users/elliottslaughter/followers","following_url":"https://api.github.com/users/elliottslaughter/following{/other_user}","gists_url":"https://api.github.com/users/elliottslaughter/gists{/gist_id}","starred_url":"https://api.github.com/users/elliottslaughter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elliottslaughter/subscriptions","organizations_url":"https://api.github.com/users/elliottslaughter/orgs","repos_url":"https://api.github.com/users/elliottslaughter/repos","events_url":"https://api.github.com/users/elliottslaughter/events{/privacy}","received_events_url":"https://api.github.com/users/elliottslaughter/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":15,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"elliottslaughter"}}