{"action":"created","issue":{"url":"https://api.github.com/repos/jneen/rouge/issues/872","repository_url":"https://api.github.com/repos/jneen/rouge","labels_url":"https://api.github.com/repos/jneen/rouge/issues/872/labels{/name}","comments_url":"https://api.github.com/repos/jneen/rouge/issues/872/comments","events_url":"https://api.github.com/repos/jneen/rouge/issues/872/events","html_url":"https://github.com/jneen/rouge/pull/872","id":294752365,"number":872,"title":"Add SPARQL lexer","user":{"login":"noniq","id":244158,"avatar_url":"https://avatars2.githubusercontent.com/u/244158?v=4","gravatar_id":"","url":"https://api.github.com/users/noniq","html_url":"https://github.com/noniq","followers_url":"https://api.github.com/users/noniq/followers","following_url":"https://api.github.com/users/noniq/following{/other_user}","gists_url":"https://api.github.com/users/noniq/gists{/gist_id}","starred_url":"https://api.github.com/users/noniq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noniq/subscriptions","organizations_url":"https://api.github.com/users/noniq/orgs","repos_url":"https://api.github.com/users/noniq/repos","events_url":"https://api.github.com/users/noniq/events{/privacy}","received_events_url":"https://api.github.com/users/noniq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-06T13:06:11Z","updated_at":"2018-03-09T09:44:41Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/jneen/rouge/pulls/872","html_url":"https://github.com/jneen/rouge/pull/872","diff_url":"https://github.com/jneen/rouge/pull/872.diff","patch_url":"https://github.com/jneen/rouge/pull/872.patch"},"body":"This implements a lexer for SPARQL.\r\n\r\nI only use SPARQL in the context of Wikidata, so I used (valid) Wikidata queries for all examples and tests. \r\n\r\nLists of keywords and builtins were extracted from the [spec](https://www.w3.org/TR/sparql11-query/#grammar) (but I may have missed some). \r\n\r\nI think the lexer is fairly complete – multiline strings are not implemented, though.\r\n\r\nThis is my first try on implementing a lexer for Rouge – looking forward to feedback! 😃\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jneen/rouge/issues/comments/371764134","html_url":"https://github.com/jneen/rouge/pull/872#issuecomment-371764134","issue_url":"https://api.github.com/repos/jneen/rouge/issues/872","id":371764134,"user":{"login":"noniq","id":244158,"avatar_url":"https://avatars2.githubusercontent.com/u/244158?v=4","gravatar_id":"","url":"https://api.github.com/users/noniq","html_url":"https://github.com/noniq","followers_url":"https://api.github.com/users/noniq/followers","following_url":"https://api.github.com/users/noniq/following{/other_user}","gists_url":"https://api.github.com/users/noniq/gists{/gist_id}","starred_url":"https://api.github.com/users/noniq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noniq/subscriptions","organizations_url":"https://api.github.com/users/noniq/orgs","repos_url":"https://api.github.com/users/noniq/repos","events_url":"https://api.github.com/users/noniq/events{/privacy}","received_events_url":"https://api.github.com/users/noniq/received_events","type":"User","site_admin":false},"created_at":"2018-03-09T09:44:41Z","updated_at":"2018-03-09T09:44:41Z","author_association":"NONE","body":"Ping :)"}}
{"actor":{"display_login":"noniq"}}