{"action":"created","issue":{"url":"https://api.github.com/repos/radare/radare2/issues/7967","repository_url":"https://api.github.com/repos/radare/radare2","labels_url":"https://api.github.com/repos/radare/radare2/issues/7967/labels{/name}","comments_url":"https://api.github.com/repos/radare/radare2/issues/7967/comments","events_url":"https://api.github.com/repos/radare/radare2/issues/7967/events","html_url":"https://github.com/radare/radare2/issues/7967","id":244243269,"number":7967,"title":"Refactor the commands parsing","user":{"login":"XVilka","id":203261,"avatar_url":"https://avatars1.githubusercontent.com/u/203261?v=4","gravatar_id":"","url":"https://api.github.com/users/XVilka","html_url":"https://github.com/XVilka","followers_url":"https://api.github.com/users/XVilka/followers","following_url":"https://api.github.com/users/XVilka/following{/other_user}","gists_url":"https://api.github.com/users/XVilka/gists{/gist_id}","starred_url":"https://api.github.com/users/XVilka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XVilka/subscriptions","organizations_url":"https://api.github.com/users/XVilka/orgs","repos_url":"https://api.github.com/users/XVilka/repos","events_url":"https://api.github.com/users/XVilka/events{/privacy}","received_events_url":"https://api.github.com/users/XVilka/received_events","type":"User","site_admin":false},"labels":[{"id":272385595,"url":"https://api.github.com/repos/radare/radare2/labels/concept","name":"concept","color":"000000","default":false},{"id":65046672,"url":"https://api.github.com/repos/radare/radare2/labels/consoleui","name":"consoleui","color":"5319e7","default":false},{"id":8289062,"url":"https://api.github.com/repos/radare/radare2/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":218991130,"url":"https://api.github.com/repos/radare/radare2/labels/hardcore","name":"hardcore","color":"e11d21","default":false},{"id":64423341,"url":"https://api.github.com/repos/radare/radare2/labels/refactor","name":"refactor","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/radare/radare2/milestones/9","html_url":"https://github.com/radare/radare2/milestone/9","labels_url":"https://api.github.com/repos/radare/radare2/milestones/9/labels","id":1266740,"number":9,"title":"9999","description":"Far in the future","creator":{"login":"XVilka","id":203261,"avatar_url":"https://avatars1.githubusercontent.com/u/203261?v=4","gravatar_id":"","url":"https://api.github.com/users/XVilka","html_url":"https://github.com/XVilka","followers_url":"https://api.github.com/users/XVilka/followers","following_url":"https://api.github.com/users/XVilka/following{/other_user}","gists_url":"https://api.github.com/users/XVilka/gists{/gist_id}","starred_url":"https://api.github.com/users/XVilka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XVilka/subscriptions","organizations_url":"https://api.github.com/users/XVilka/orgs","repos_url":"https://api.github.com/users/XVilka/repos","events_url":"https://api.github.com/users/XVilka/events{/privacy}","received_events_url":"https://api.github.com/users/XVilka/received_events","type":"User","site_admin":false},"open_issues":73,"closed_issues":25,"state":"open","created_at":"2015-08-21T18:13:47Z","updated_at":"2017-07-20T04:36:05Z","due_on":"2100-07-31T07:00:00Z","closed_at":null},"comments":3,"created_at":"2017-07-20T04:36:05Z","updated_at":"2017-07-20T06:17:34Z","closed_at":null,"body":"Rather than allow each command handler to parse itself, there is a need for a proper common parser of the command line, providing just a set of tokens to the handler function.\r\nThis will allow to improve the syntax parser, improve commands help and syntax error reporting, easier and niftier autocompletion, may be even syntax highlight of the command line, right when you type. And many more things."},"comment":{"url":"https://api.github.com/repos/radare/radare2/issues/comments/316607782","html_url":"https://github.com/radare/radare2/issues/7967#issuecomment-316607782","issue_url":"https://api.github.com/repos/radare/radare2/issues/7967","id":316607782,"user":{"login":"radare","id":917142,"avatar_url":"https://avatars1.githubusercontent.com/u/917142?v=4","gravatar_id":"","url":"https://api.github.com/users/radare","html_url":"https://github.com/radare","followers_url":"https://api.github.com/users/radare/followers","following_url":"https://api.github.com/users/radare/following{/other_user}","gists_url":"https://api.github.com/users/radare/gists{/gist_id}","starred_url":"https://api.github.com/users/radare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radare/subscriptions","organizations_url":"https://api.github.com/users/radare/orgs","repos_url":"https://api.github.com/users/radare/repos","events_url":"https://api.github.com/users/radare/events{/privacy}","received_events_url":"https://api.github.com/users/radare/received_events","type":"User","site_admin":false},"created_at":"2017-07-20T06:17:34Z","updated_at":"2017-07-20T06:17:34Z","body":"So i agree on that, will also speedup rcorecmd()\n\n> On 20 Jul 2017, at 07:49, Fangrui Song <notifications@github.com> wrote:\n> \n> This is the way to go! This must be done piecemeal and it may be most desirable to have a nice command completion first (zsh-like).\n> \n> % r2 -a 6502\n>  -- arch --\n> 6502         -- 6502/NES/C64/Tamagotchi/T-1000 CPU\n> 8051         -- 8051 Intel CPU\n> arc          -- Argonaut RISC Core\n> arm          -- Capstone ARM disassembler\n> arm.as       -- as ARM Assembler (use ARM_AS environment)\n> arm.gnu      -- Acorn RISC Machine CPU\n> arm.ks       -- ARM keystone assembler\n> arm.winedbg  -- WineDBG's ARM disassembler\n> ...\n> I'd like to do some of the heavy lifting (or most? I need to feel familiar with most commands before next Thursday...) to move const char *help_msg*[] arrays to toplevel.\n> \n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub, or mute the thread.\n> \n"}}
{"actor":{"display_login":"radare"}}