{"action":"created","comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/177984321","pull_request_review_id":107961068,"id":177984321,"diff_hunk":"@@ -0,0 +1,20 @@\n+### About\n+\n+This example shows how to write IoT applications using Lua.\n+\n+### Caveats\n+\n+Currently, the only actual function available is \"print\"\n+\n+### How to use\n+\n+Put your lua code into \"main.lua\" (check the example). The file will\n+automatically be included when compiling the application. You can then execute the\n+file using the lua_run_script command.\n+\n+### How to run\n+\n+Type `make flash term","path":"examples/lua/README.md","position":17,"original_position":17,"commit_id":"863e2a7a8ec9d4ca2f977146cb5ae81d93213c87","original_commit_id":"863e2a7a8ec9d4ca2f977146cb5ae81d93213c87","user":{"login":"jia200x","id":1260616,"avatar_url":"https://avatars3.githubusercontent.com/u/1260616?v=4","gravatar_id":"","url":"https://api.github.com/users/jia200x","html_url":"https://github.com/jia200x","followers_url":"https://api.github.com/users/jia200x/followers","following_url":"https://api.github.com/users/jia200x/following{/other_user}","gists_url":"https://api.github.com/users/jia200x/gists{/gist_id}","starred_url":"https://api.github.com/users/jia200x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jia200x/subscriptions","organizations_url":"https://api.github.com/users/jia200x/orgs","repos_url":"https://api.github.com/users/jia200x/repos","events_url":"https://api.github.com/users/jia200x/events{/privacy}","received_events_url":"https://api.github.com/users/jia200x/received_events","type":"User","site_admin":false},"body":"missing ` after \"term\"","created_at":"2018-03-29T08:24:53Z","updated_at":"2018-03-29T08:30:37Z","html_url":"https://github.com/RIOT-OS/RIOT/pull/8847#discussion_r177984321","pull_request_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/8847","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/177984321"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/8847#discussion_r177984321"},"pull_request":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/8847"}}},"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/8847","id":178091490,"html_url":"https://github.com/RIOT-OS/RIOT/pull/8847","diff_url":"https://github.com/RIOT-OS/RIOT/pull/8847.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/8847.patch","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/8847","number":8847,"state":"open","locked":false,"title":"Lua support - initial PR","user":{"login":"danpetry","id":11301549,"avatar_url":"https://avatars2.githubusercontent.com/u/11301549?v=4","gravatar_id":"","url":"https://api.github.com/users/danpetry","html_url":"https://github.com/danpetry","followers_url":"https://api.github.com/users/danpetry/followers","following_url":"https://api.github.com/users/danpetry/following{/other_user}","gists_url":"https://api.github.com/users/danpetry/gists{/gist_id}","starred_url":"https://api.github.com/users/danpetry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danpetry/subscriptions","organizations_url":"https://api.github.com/users/danpetry/orgs","repos_url":"https://api.github.com/users/danpetry/repos","events_url":"https://api.github.com/users/danpetry/events{/privacy}","received_events_url":"https://api.github.com/users/danpetry/received_events","type":"User","site_admin":false},"body":"### Contribution description\r\n\r\nThis is an initial PR intended as a first step in development for adding Lua support. Lua is a lightweight scripting language suitable for embedded devices.\r\n\r\nThis PR includes automatic downloading and building of Lua from its github repo, and an example application which demonstrates:\r\n\r\n- the running of a .lua script that has been included in the example directory\r\n- starting of a Lua command prompt from within RIOT.\r\n\r\nCurrently, only the Lua print() function is supported.\r\n\r\nThe example application contains a file called lua.c, which has been edited from the file in the Lua source code which implements the Lua CLI. This file handles the command line interpreter and the running of the main.lua script. It is expected that this will continue to change, eventually evolving perhaps into a simple high-level API, and so the approach of putting this file in the example directory for now, rather than as a patch, was followed in order to facilitate further development.\r\n\r\n### Issues/PRs references\r\n\r\nhttps://github.com/RIOT-OS/RIOT/issues/8434","created_at":"2018-03-28T16:17:09Z","updated_at":"2018-03-29T08:30:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dbc6a903b3b3d29e8e9f17e0da06444a6a9f494c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":97458574,"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/new%20feature","name":"new feature","color":"e11d21","default":false},{"id":114180965,"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/pkg","name":"pkg","color":"006b75","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/8847/commits","review_comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/8847/comments","review_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/8847/comments","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/863e2a7a8ec9d4ca2f977146cb5ae81d93213c87","head":{"label":"danpetry:lua_initial","ref":"lua_initial","sha":"863e2a7a8ec9d4ca2f977146cb5ae81d93213c87","user":{"login":"danpetry","id":11301549,"avatar_url":"https://avatars2.githubusercontent.com/u/11301549?v=4","gravatar_id":"","url":"https://api.github.com/users/danpetry","html_url":"https://github.com/danpetry","followers_url":"https://api.github.com/users/danpetry/followers","following_url":"https://api.github.com/users/danpetry/following{/other_user}","gists_url":"https://api.github.com/users/danpetry/gists{/gist_id}","starred_url":"https://api.github.com/users/danpetry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danpetry/subscriptions","organizations_url":"https://api.github.com/users/danpetry/orgs","repos_url":"https://api.github.com/users/danpetry/repos","events_url":"https://api.github.com/users/danpetry/events{/privacy}","received_events_url":"https://api.github.com/users/danpetry/received_events","type":"User","site_admin":false},"repo":{"id":96694179,"name":"RIOT","full_name":"danpetry/RIOT","owner":{"login":"danpetry","id":11301549,"avatar_url":"https://avatars2.githubusercontent.com/u/11301549?v=4","gravatar_id":"","url":"https://api.github.com/users/danpetry","html_url":"https://github.com/danpetry","followers_url":"https://api.github.com/users/danpetry/followers","following_url":"https://api.github.com/users/danpetry/following{/other_user}","gists_url":"https://api.github.com/users/danpetry/gists{/gist_id}","starred_url":"https://api.github.com/users/danpetry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danpetry/subscriptions","organizations_url":"https://api.github.com/users/danpetry/orgs","repos_url":"https://api.github.com/users/danpetry/repos","events_url":"https://api.github.com/users/danpetry/events{/privacy}","received_events_url":"https://api.github.com/users/danpetry/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danpetry/RIOT","description":"RIOT -  The friendly OS for IoT","fork":true,"url":"https://api.github.com/repos/danpetry/RIOT","forks_url":"https://api.github.com/repos/danpetry/RIOT/forks","keys_url":"https://api.github.com/repos/danpetry/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danpetry/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danpetry/RIOT/teams","hooks_url":"https://api.github.com/repos/danpetry/RIOT/hooks","issue_events_url":"https://api.github.com/repos/danpetry/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/danpetry/RIOT/events","assignees_url":"https://api.github.com/repos/danpetry/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/danpetry/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/danpetry/RIOT/tags","blobs_url":"https://api.github.com/repos/danpetry/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danpetry/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danpetry/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/danpetry/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danpetry/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/danpetry/RIOT/languages","stargazers_url":"https://api.github.com/repos/danpetry/RIOT/stargazers","contributors_url":"https://api.github.com/repos/danpetry/RIOT/contributors","subscribers_url":"https://api.github.com/repos/danpetry/RIOT/subscribers","subscription_url":"https://api.github.com/repos/danpetry/RIOT/subscription","commits_url":"https://api.github.com/repos/danpetry/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/danpetry/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/danpetry/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/danpetry/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/danpetry/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/danpetry/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danpetry/RIOT/merges","archive_url":"https://api.github.com/repos/danpetry/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danpetry/RIOT/downloads","issues_url":"https://api.github.com/repos/danpetry/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/danpetry/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/danpetry/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/danpetry/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danpetry/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/danpetry/RIOT/releases{/id}","deployments_url":"https://api.github.com/repos/danpetry/RIOT/deployments","created_at":"2017-07-09T15:43:15Z","updated_at":"2018-03-28T15:29:42Z","pushed_at":"2018-03-28T17:03:40Z","git_url":"git://github.com/danpetry/RIOT.git","ssh_url":"git@github.com:danpetry/RIOT.git","clone_url":"https://github.com/danpetry/RIOT.git","svn_url":"https://github.com/danpetry/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":50275,"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":"RIOT-OS:master","ref":"master","sha":"8060f55227b2c1ebd30c18c21b240b863b60bede","user":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars2.githubusercontent.com/u/3079480?v=4","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"repo":{"id":7370241,"name":"RIOT","full_name":"RIOT-OS/RIOT","owner":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars2.githubusercontent.com/u/3079480?v=4","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RIOT-OS/RIOT","description":"RIOT -  The friendly OS for IoT","fork":false,"url":"https://api.github.com/repos/RIOT-OS/RIOT","forks_url":"https://api.github.com/repos/RIOT-OS/RIOT/forks","keys_url":"https://api.github.com/repos/RIOT-OS/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RIOT-OS/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RIOT-OS/RIOT/teams","hooks_url":"https://api.github.com/repos/RIOT-OS/RIOT/hooks","issue_events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/events","assignees_url":"https://api.github.com/repos/RIOT-OS/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/RIOT-OS/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/tags","blobs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/RIOT-OS/RIOT/languages","stargazers_url":"https://api.github.com/repos/RIOT-OS/RIOT/stargazers","contributors_url":"https://api.github.com/repos/RIOT-OS/RIOT/contributors","subscribers_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscribers","subscription_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscription","commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/RIOT-OS/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/RIOT-OS/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RIOT-OS/RIOT/merges","archive_url":"https://api.github.com/repos/RIOT-OS/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RIOT-OS/RIOT/downloads","issues_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/RIOT-OS/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/RIOT-OS/RIOT/releases{/id}","deployments_url":"https://api.github.com/repos/RIOT-OS/RIOT/deployments","created_at":"2012-12-29T20:38:40Z","updated_at":"2018-03-29T03:48:52Z","pushed_at":"2018-03-29T08:24:38Z","git_url":"git://github.com/RIOT-OS/RIOT.git","ssh_url":"git@github.com:RIOT-OS/RIOT.git","clone_url":"https://github.com/RIOT-OS/RIOT.git","svn_url":"https://github.com/RIOT-OS/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":50378,"stargazers_count":1707,"watchers_count":1707,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1021,"mirror_url":null,"archived":false,"open_issues_count":718,"license":{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1"},"forks":1021,"open_issues":718,"watchers":1707,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/8847"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/8847"},"issue":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/8847"},"comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/8847/comments"},"review_comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/8847/comments"},"review_comment":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/8847/commits"},"statuses":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/863e2a7a8ec9d4ca2f977146cb5ae81d93213c87"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jia200x"}}