{"action":"created","issue":{"url":"https://api.github.com/repos/ldevyataykina/ldsl_grammar/issues/2","repository_url":"https://api.github.com/repos/ldevyataykina/ldsl_grammar","labels_url":"https://api.github.com/repos/ldevyataykina/ldsl_grammar/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/ldevyataykina/ldsl_grammar/issues/2/comments","events_url":"https://api.github.com/repos/ldevyataykina/ldsl_grammar/issues/2/events","html_url":"https://github.com/ldevyataykina/ldsl_grammar/issues/2","id":328043445,"node_id":"MDU6SXNzdWUzMjgwNDM0NDU=","number":2,"title":"Add string from DSL like a comment to python code","user":{"login":"ldevyataykina","id":18191667,"node_id":"MDQ6VXNlcjE4MTkxNjY3","avatar_url":"https://avatars2.githubusercontent.com/u/18191667?v=4","gravatar_id":"","url":"https://api.github.com/users/ldevyataykina","html_url":"https://github.com/ldevyataykina","followers_url":"https://api.github.com/users/ldevyataykina/followers","following_url":"https://api.github.com/users/ldevyataykina/following{/other_user}","gists_url":"https://api.github.com/users/ldevyataykina/gists{/gist_id}","starred_url":"https://api.github.com/users/ldevyataykina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldevyataykina/subscriptions","organizations_url":"https://api.github.com/users/ldevyataykina/orgs","repos_url":"https://api.github.com/users/ldevyataykina/repos","events_url":"https://api.github.com/users/ldevyataykina/events{/privacy}","received_events_url":"https://api.github.com/users/ldevyataykina/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-05-31T08:33:52Z","updated_at":"2018-06-01T09:01:47Z","closed_at":null,"author_association":"OWNER","body":"@erezsh Is any way to add DSL string like a comment to python code?\r\n\r\nFor example\r\n\r\n**DSL**\r\n```\r\nЕсли возраст < 18 то\r\n    отказ\r\nЕсли возраст >= 18 то\r\n    Если зарплата > 100000 то\r\n        выдать_кредит\r\n```\r\n\r\n**Python code**\r\n\r\n```\r\n# Если возраст < 18 то\r\nif age < 18:\r\n    # отказ\r\n    print('refused')\r\n\r\n# Если возраст >= 18 то\r\nif age >= 18:\r\n    # Если зарплата > 100000 то\r\n    if salary > 100000:\r\n        # выдать кредит\r\n        print('success')`\r\n```\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ldevyataykina/ldsl_grammar/issues/comments/393818683","html_url":"https://github.com/ldevyataykina/ldsl_grammar/issues/2#issuecomment-393818683","issue_url":"https://api.github.com/repos/ldevyataykina/ldsl_grammar/issues/2","id":393818683,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzgxODY4Mw==","user":{"login":"erezsh","id":731464,"node_id":"MDQ6VXNlcjczMTQ2NA==","avatar_url":"https://avatars3.githubusercontent.com/u/731464?v=4","gravatar_id":"","url":"https://api.github.com/users/erezsh","html_url":"https://github.com/erezsh","followers_url":"https://api.github.com/users/erezsh/followers","following_url":"https://api.github.com/users/erezsh/following{/other_user}","gists_url":"https://api.github.com/users/erezsh/gists{/gist_id}","starred_url":"https://api.github.com/users/erezsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erezsh/subscriptions","organizations_url":"https://api.github.com/users/erezsh/orgs","repos_url":"https://api.github.com/users/erezsh/repos","events_url":"https://api.github.com/users/erezsh/events{/privacy}","received_events_url":"https://api.github.com/users/erezsh/received_events","type":"User","site_admin":false},"created_at":"2018-06-01T09:01:47Z","updated_at":"2018-06-01T09:01:47Z","author_association":"NONE","body":"Please provide the full code you're using (or an equivalent sample)."}}
{"actor":{"display_login":"erezsh"}}