{"action":"created","issue":{"url":"https://api.github.com/repos/Geal/nom/issues/257","repository_url":"https://api.github.com/repos/Geal/nom","labels_url":"https://api.github.com/repos/Geal/nom/issues/257/labels{/name}","comments_url":"https://api.github.com/repos/Geal/nom/issues/257/comments","events_url":"https://api.github.com/repos/Geal/nom/issues/257/events","html_url":"https://github.com/Geal/nom/pull/257","id":153230744,"number":257,"title":"Arithmetic expression parser to AST.","user":{"login":"mspiegel","id":11677,"avatar_url":"https://avatars.githubusercontent.com/u/11677?v=3","gravatar_id":"","url":"https://api.github.com/users/mspiegel","html_url":"https://github.com/mspiegel","followers_url":"https://api.github.com/users/mspiegel/followers","following_url":"https://api.github.com/users/mspiegel/following{/other_user}","gists_url":"https://api.github.com/users/mspiegel/gists{/gist_id}","starred_url":"https://api.github.com/users/mspiegel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mspiegel/subscriptions","organizations_url":"https://api.github.com/users/mspiegel/orgs","repos_url":"https://api.github.com/users/mspiegel/repos","events_url":"https://api.github.com/users/mspiegel/events{/privacy}","received_events_url":"https://api.github.com/users/mspiegel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-05T13:20:11Z","updated_at":"2016-05-10T10:32:44Z","closed_at":"2016-05-10T10:29:02Z","pull_request":{"url":"https://api.github.com/repos/Geal/nom/pulls/257","html_url":"https://github.com/Geal/nom/pull/257","diff_url":"https://github.com/Geal/nom/pull/257.diff","patch_url":"https://github.com/Geal/nom/pull/257.patch"},"body":"Adapts tests/arithmetic.rs to generate an abstract syntax tree."},"comment":{"url":"https://api.github.com/repos/Geal/nom/issues/comments/218119844","html_url":"https://github.com/Geal/nom/pull/257#issuecomment-218119844","issue_url":"https://api.github.com/repos/Geal/nom/issues/257","id":218119844,"user":{"login":"Geal","id":119296,"avatar_url":"https://avatars.githubusercontent.com/u/119296?v=3","gravatar_id":"","url":"https://api.github.com/users/Geal","html_url":"https://github.com/Geal","followers_url":"https://api.github.com/users/Geal/followers","following_url":"https://api.github.com/users/Geal/following{/other_user}","gists_url":"https://api.github.com/users/Geal/gists{/gist_id}","starred_url":"https://api.github.com/users/Geal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Geal/subscriptions","organizations_url":"https://api.github.com/users/Geal/orgs","repos_url":"https://api.github.com/users/Geal/repos","events_url":"https://api.github.com/users/Geal/events{/privacy}","received_events_url":"https://api.github.com/users/Geal/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T10:32:44Z","updated_at":"2016-05-10T10:32:44Z","body":"Thanks, this looks great!\r\n\r\nArithmetic expressions are simple enough to be interpreted directly with a fold, but I have a feeling nom could be used for the next step as well. Since it is generic over the input type, you could write recognizers for a slice of a vector of tokens. I guess it will be the next test :)"}}