{"action":"created","issue":{"url":"https://api.github.com/repos/alda-lang/alda/issues/8","labels_url":"https://api.github.com/repos/alda-lang/alda/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/alda-lang/alda/issues/8/comments","events_url":"https://api.github.com/repos/alda-lang/alda/issues/8/events","html_url":"https://github.com/alda-lang/alda/issues/8","id":54282255,"number":8,"title":"Long comment syntax","user":{"login":"daveyarwood","id":4909079,"avatar_url":"https://avatars.githubusercontent.com/u/4909079?v=3","gravatar_id":"","url":"https://api.github.com/users/daveyarwood","html_url":"https://github.com/daveyarwood","followers_url":"https://api.github.com/users/daveyarwood/followers","following_url":"https://api.github.com/users/daveyarwood/following{/other_user}","gists_url":"https://api.github.com/users/daveyarwood/gists{/gist_id}","starred_url":"https://api.github.com/users/daveyarwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daveyarwood/subscriptions","organizations_url":"https://api.github.com/users/daveyarwood/orgs","repos_url":"https://api.github.com/users/daveyarwood/repos","events_url":"https://api.github.com/users/daveyarwood/events{/privacy}","received_events_url":"https://api.github.com/users/daveyarwood/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/alda-lang/alda/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/alda-lang/alda/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-14T04:13:47Z","updated_at":"2015-04-21T06:36:51Z","closed_at":null,"body":"`#{ Long comments }` don't quite work correctly -- they will always terminate prematurely at the first instance of `#{` or `}` after the beginning of the comment -- which means nested comments don't work, nor will commenting out any block of code that includes `}` (`{ ... }` is a planned syntax for advanced rhythms, so this is something that could very well happen)\r\n\r\nNeed to tweak the way I've defined long comments in the grammar... for reference, see how long comments are handled in [Instaparse examples](https://github.com/Engelberg/instaparse/blob/master/test/instaparse/core_test.clj).\r\n\r\nAnother thing to consider: is there a smarter and/or better-looking syntax for long comments than `#{ this }`? I'm not totally happy with `#{ this }`, in part because it reminds me of Ruby string interpolation instead of a long comment. For inspiration, [this is how other languages handle comment syntax](http://en.wikipedia.org/wiki/Comparison_of_programming_languages_%28syntax%29#Comment_comparison)."},"comment":{"url":"https://api.github.com/repos/alda-lang/alda/issues/comments/94654170","html_url":"https://github.com/alda-lang/alda/issues/8#issuecomment-94654170","issue_url":"https://api.github.com/repos/alda-lang/alda/issues/8","id":94654170,"user":{"login":"daveyarwood","id":4909079,"avatar_url":"https://avatars.githubusercontent.com/u/4909079?v=3","gravatar_id":"","url":"https://api.github.com/users/daveyarwood","html_url":"https://github.com/daveyarwood","followers_url":"https://api.github.com/users/daveyarwood/followers","following_url":"https://api.github.com/users/daveyarwood/following{/other_user}","gists_url":"https://api.github.com/users/daveyarwood/gists{/gist_id}","starred_url":"https://api.github.com/users/daveyarwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daveyarwood/subscriptions","organizations_url":"https://api.github.com/users/daveyarwood/orgs","repos_url":"https://api.github.com/users/daveyarwood/repos","events_url":"https://api.github.com/users/daveyarwood/events{/privacy}","received_events_url":"https://api.github.com/users/daveyarwood/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T06:36:51Z","updated_at":"2015-04-21T06:36:51Z","body":"I ended up talking about this with Mark Engelberg himself at ClojureWest today, and he recommended using the greediness regexes as much as possible -- I think making the long comment rule more regex-y might help solve this. "}}