{"action":"closed","issue":{"url":"https://api.github.com/repos/mikaelpatel/Arduino-Shell/issues/28","repository_url":"https://api.github.com/repos/mikaelpatel/Arduino-Shell","labels_url":"https://api.github.com/repos/mikaelpatel/Arduino-Shell/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/mikaelpatel/Arduino-Shell/issues/28/comments","events_url":"https://api.github.com/repos/mikaelpatel/Arduino-Shell/issues/28/events","html_url":"https://github.com/mikaelpatel/Arduino-Shell/issues/28","id":138509005,"number":28,"title":"Improve operation codes","user":{"login":"mikaelpatel","id":2774083,"avatar_url":"https://avatars.githubusercontent.com/u/2774083?v=3","gravatar_id":"","url":"https://api.github.com/users/mikaelpatel","html_url":"https://github.com/mikaelpatel","followers_url":"https://api.github.com/users/mikaelpatel/followers","following_url":"https://api.github.com/users/mikaelpatel/following{/other_user}","gists_url":"https://api.github.com/users/mikaelpatel/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaelpatel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaelpatel/subscriptions","organizations_url":"https://api.github.com/users/mikaelpatel/orgs","repos_url":"https://api.github.com/users/mikaelpatel/repos","events_url":"https://api.github.com/users/mikaelpatel/events{/privacy}","received_events_url":"https://api.github.com/users/mikaelpatel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-04T15:55:34Z","updated_at":"2016-03-04T22:43:32Z","closed_at":"2016-03-04T22:43:32Z","body":"The operation codes for frames, parameters, variable lookup and escape could be more logical.\r\n\r\n1. \"n$..-n$\" could be \"n\\\\...-n\\\".\r\n2. \"n_\" could then be \"n$\" which is RPN of shell parameters.\r\n3. \"\\name\" would have to change to for instance \"`name\".\r\n4. \"`\" would change to \"_\".\r\n\r\nThe old syntax:\r\n```\r\n{2$2_@1_@-2};\\swap!\r\n3,4\\swap:\r\n```\r\nwould become:\r\n```\r\n{2\\2$@1$@-2\\};`swap!\r\n3,4`swap:\r\n```\r\n\r\n"}}