{"action":"created","issue":{"url":"https://api.github.com/repos/hylang/hy/issues/1327","repository_url":"https://api.github.com/repos/hylang/hy","labels_url":"https://api.github.com/repos/hylang/hy/issues/1327/labels{/name}","comments_url":"https://api.github.com/repos/hylang/hy/issues/1327/comments","events_url":"https://api.github.com/repos/hylang/hy/issues/1327/events","html_url":"https://github.com/hylang/hy/pull/1327","id":244148215,"number":1327,"title":"Implement #qC string literals","user":{"login":"Kodiologist","id":322730,"avatar_url":"https://avatars3.githubusercontent.com/u/322730?v=4","gravatar_id":"","url":"https://api.github.com/users/Kodiologist","html_url":"https://github.com/Kodiologist","followers_url":"https://api.github.com/users/Kodiologist/followers","following_url":"https://api.github.com/users/Kodiologist/following{/other_user}","gists_url":"https://api.github.com/users/Kodiologist/gists{/gist_id}","starred_url":"https://api.github.com/users/Kodiologist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kodiologist/subscriptions","organizations_url":"https://api.github.com/users/Kodiologist/orgs","repos_url":"https://api.github.com/users/Kodiologist/repos","events_url":"https://api.github.com/users/Kodiologist/events{/privacy}","received_events_url":"https://api.github.com/users/Kodiologist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":39,"created_at":"2017-07-19T19:27:46Z","updated_at":"2017-08-08T18:36:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hylang/hy/pulls/1327","html_url":"https://github.com/hylang/hy/pull/1327","diff_url":"https://github.com/hylang/hy/pull/1327.diff","patch_url":"https://github.com/hylang/hy/pull/1327.patch"},"body":"Closes #1287.\r\n\r\nThere's no documentation or NEWS update yet.\r\n\r\n~~Note that matching delimiters are supported, but not inner pairs of matching delimiters (e.g., `#q(())` is parsed the same as `\"(\" )`). This is because the lexer is regex-based, and Python doesn't implement recursive regexes.~~ Matching delimiters are supported.\r\n\r\n~~@gilch, I didn't reserve a character for indicating multi-character delimiters since you hadn't seemed to settle on `[`,`=`, or `<`.~~ Multi-character delimiters are indicated with `<`."},"comment":{"url":"https://api.github.com/repos/hylang/hy/issues/comments/321044086","html_url":"https://github.com/hylang/hy/pull/1327#issuecomment-321044086","issue_url":"https://api.github.com/repos/hylang/hy/issues/1327","id":321044086,"user":{"login":"kirbyfan64","id":1690697,"avatar_url":"https://avatars1.githubusercontent.com/u/1690697?v=4","gravatar_id":"","url":"https://api.github.com/users/kirbyfan64","html_url":"https://github.com/kirbyfan64","followers_url":"https://api.github.com/users/kirbyfan64/followers","following_url":"https://api.github.com/users/kirbyfan64/following{/other_user}","gists_url":"https://api.github.com/users/kirbyfan64/gists{/gist_id}","starred_url":"https://api.github.com/users/kirbyfan64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirbyfan64/subscriptions","organizations_url":"https://api.github.com/users/kirbyfan64/orgs","repos_url":"https://api.github.com/users/kirbyfan64/repos","events_url":"https://api.github.com/users/kirbyfan64/events{/privacy}","received_events_url":"https://api.github.com/users/kirbyfan64/received_events","type":"User","site_admin":false},"created_at":"2017-08-08T18:36:14Z","updated_at":"2017-08-08T18:36:14Z","body":"Yeah, this is a mess. I still have no clue what the hell \"pointy style\" is. I think we just need to start from the top. How about we start from the top...\r\n\r\nMy understanding is that the current state of the code is that is looks like `#q{delim}STUFF delim`, right?\r\n\r\nHere's my belief:\r\n\r\nWhy is the Lua syntax awesome?\r\n\r\nFor starters, it's dead-simple if you're not using custom delimiters (which is the case most of the time). e.g. `#q[[abc]]`. On the other hand, the current syntax *always* requires a delimiter, e.g. `#q{EOF} stuff EOF`. My stance (partly from using heredocs for a long time) is that:\r\n\r\n- 99% of the time the delimiter will either be *EOF* or some weird character, where everyone uses a different one\r\n- There are too many choices. Not only can you pick any delimiter, but you can also pick what delimits the delimiter (e.g. `#qAdelimiterA` is valid). Really, I don't see any use for using a custom character after the `q`, since the delimiter can be whatever you want anyway.\r\n\r\nIn addition, it plays nicely with Python's *one way to do it* philosophy: it allows just enough flexibility, but most of the time it'll end up being roughly the same thing."}}
{"actor":{"display_login":"kirbyfan64"}}