{"action":"created","issue":{"url":"https://api.github.com/repos/Araq/Nim/issues/2024","labels_url":"https://api.github.com/repos/Araq/Nim/issues/2024/labels{/name}","comments_url":"https://api.github.com/repos/Araq/Nim/issues/2024/comments","events_url":"https://api.github.com/repos/Araq/Nim/issues/2024/events","html_url":"https://github.com/Araq/Nim/issues/2024","id":55718092,"number":2024,"title":"How to extract text from double-hash documentation comment","user":{"login":"jboy","id":639037,"avatar_url":"https://avatars.githubusercontent.com/u/639037?v=3","gravatar_id":"","url":"https://api.github.com/users/jboy","html_url":"https://github.com/jboy","followers_url":"https://api.github.com/users/jboy/followers","following_url":"https://api.github.com/users/jboy/following{/other_user}","gists_url":"https://api.github.com/users/jboy/gists{/gist_id}","starred_url":"https://api.github.com/users/jboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jboy/subscriptions","organizations_url":"https://api.github.com/users/jboy/orgs","repos_url":"https://api.github.com/users/jboy/repos","events_url":"https://api.github.com/users/jboy/events{/privacy}","received_events_url":"https://api.github.com/users/jboy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Araq/Nim/labels/Feature","name":"Feature","color":"0080f0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-28T06:03:33Z","updated_at":"2015-01-28T12:20:25Z","closed_at":null,"body":"I would like my code to extract double-hash documentation comments and use them for introspection documentation.  However, I can't work out how to extract the comment text in my code. I can't access any internal structure in the nnkCommentStmt node, and I can't find any procs (outside the Nim compiler code) that handle nnkCommentStmt nodes.\r\n\r\nIs it possible for non-compiler (non-docgen) code to extract the text of double-hash documentation comments?  If so, could the appropriate procs/macros be documented?"},"comment":{"url":"https://api.github.com/repos/Araq/Nim/issues/comments/71826550","html_url":"https://github.com/Araq/Nim/issues/2024#issuecomment-71826550","issue_url":"https://api.github.com/repos/Araq/Nim/issues/2024","id":71826550,"user":{"login":"Araq","id":287816,"avatar_url":"https://avatars.githubusercontent.com/u/287816?v=3","gravatar_id":"","url":"https://api.github.com/users/Araq","html_url":"https://github.com/Araq","followers_url":"https://api.github.com/users/Araq/followers","following_url":"https://api.github.com/users/Araq/following{/other_user}","gists_url":"https://api.github.com/users/Araq/gists{/gist_id}","starred_url":"https://api.github.com/users/Araq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Araq/subscriptions","organizations_url":"https://api.github.com/users/Araq/orgs","repos_url":"https://api.github.com/users/Araq/repos","events_url":"https://api.github.com/users/Araq/events{/privacy}","received_events_url":"https://api.github.com/users/Araq/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T12:20:25Z","updated_at":"2015-01-28T12:20:25Z","body":"yup, that's currently impossible"}}