{"action":"created","issue":{"url":"https://api.github.com/repos/andrewchambers/cc/issues/8","labels_url":"https://api.github.com/repos/andrewchambers/cc/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/andrewchambers/cc/issues/8/comments","events_url":"https://api.github.com/repos/andrewchambers/cc/issues/8/events","html_url":"https://github.com/andrewchambers/cc/issues/8","id":63154822,"number":8,"title":"Refactor lexer","user":{"login":"andrewchambers","id":962885,"avatar_url":"https://avatars.githubusercontent.com/u/962885?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewchambers","html_url":"https://github.com/andrewchambers","followers_url":"https://api.github.com/users/andrewchambers/followers","following_url":"https://api.github.com/users/andrewchambers/following{/other_user}","gists_url":"https://api.github.com/users/andrewchambers/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewchambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewchambers/subscriptions","organizations_url":"https://api.github.com/users/andrewchambers/orgs","repos_url":"https://api.github.com/users/andrewchambers/repos","events_url":"https://api.github.com/users/andrewchambers/events{/privacy}","received_events_url":"https://api.github.com/users/andrewchambers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/andrewchambers/cc/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-20T04:02:48Z","updated_at":"2015-03-20T08:16:42Z","closed_at":null,"body":"I feel like the lexer could be simplified by dumbing the code down a bit then using a regex to validate floats and numbers."},"comment":{"url":"https://api.github.com/repos/andrewchambers/cc/issues/comments/83949579","html_url":"https://github.com/andrewchambers/cc/issues/8#issuecomment-83949579","issue_url":"https://api.github.com/repos/andrewchambers/cc/issues/8","id":83949579,"user":{"login":"dhamidi","id":817038,"avatar_url":"https://avatars.githubusercontent.com/u/817038?v=3","gravatar_id":"","url":"https://api.github.com/users/dhamidi","html_url":"https://github.com/dhamidi","followers_url":"https://api.github.com/users/dhamidi/followers","following_url":"https://api.github.com/users/dhamidi/following{/other_user}","gists_url":"https://api.github.com/users/dhamidi/gists{/gist_id}","starred_url":"https://api.github.com/users/dhamidi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhamidi/subscriptions","organizations_url":"https://api.github.com/users/dhamidi/orgs","repos_url":"https://api.github.com/users/dhamidi/repos","events_url":"https://api.github.com/users/dhamidi/events{/privacy}","received_events_url":"https://api.github.com/users/dhamidi/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T08:16:42Z","updated_at":"2015-03-20T08:16:42Z","body":"Hey!  \r\n\r\nI just skimmed the lexer code; it doesn't look too complicated.  There is a [talk by Rob Pike][1] about writing lexers in Go, which details how the lexer for `text/template` is implemented.  Maybe that proves useful.\r\n\r\n[1]: https://www.youtube.com/watch?v=HxaD_trXwRE"}}