{"action":"created","issue":{"url":"https://api.github.com/repos/PiotrDabkowski/Js2Py/issues/44","repository_url":"https://api.github.com/repos/PiotrDabkowski/Js2Py","labels_url":"https://api.github.com/repos/PiotrDabkowski/Js2Py/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/PiotrDabkowski/Js2Py/issues/44/comments","events_url":"https://api.github.com/repos/PiotrDabkowski/Js2Py/issues/44/events","html_url":"https://github.com/PiotrDabkowski/Js2Py/issues/44","id":157189837,"number":44,"title":"SyntaxError: invalid syntax for identifier named \"not\"","user":{"login":"felixSchl","id":2703310,"avatar_url":"https://avatars.githubusercontent.com/u/2703310?v=3","gravatar_id":"","url":"https://api.github.com/users/felixSchl","html_url":"https://github.com/felixSchl","followers_url":"https://api.github.com/users/felixSchl/followers","following_url":"https://api.github.com/users/felixSchl/following{/other_user}","gists_url":"https://api.github.com/users/felixSchl/gists{/gist_id}","starred_url":"https://api.github.com/users/felixSchl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixSchl/subscriptions","organizations_url":"https://api.github.com/users/felixSchl/orgs","repos_url":"https://api.github.com/users/felixSchl/repos","events_url":"https://api.github.com/users/felixSchl/events{/privacy}","received_events_url":"https://api.github.com/users/felixSchl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-27T11:48:49Z","updated_at":"2016-05-27T19:07:45Z","closed_at":"2016-05-27T12:25:02Z","body":"Hey, I have been playing around with transpiling the compiled [neodoc](https://github.com/felixSchl/neodoc/) output to python. However when I run it, I get this SyntaxError:\r\n\r\n```\r\n>>> context.eval(js)\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/local/lib/python2.7/site-packages/js2py/evaljs.py\", line 85, in eval\r\n    self.execute(code)\r\n  File \"/usr/local/lib/python2.7/site-packages/js2py/evaljs.py\", line 80, in execute\r\n    exec(code, self._context)\r\n  File \"<string>\", line 4, in <module>\r\n  File \"<string>\", line 3, in PyJs_LONG_0_\r\n  File \"/usr/local/lib/python2.7/site-packages/js2py/base.py\", line 827, in __call__\r\n    return self.call(self.GlobalObject, args)\r\n  File \"/usr/local/lib/python2.7/site-packages/js2py/base.py\", line 1267, in call\r\n    return Js(self.code(*args))\r\n  File \"/usr/local/lib/python2.7/site-packages/js2py/host/jseval.py\", line 42, in Eval\r\n    executor(py_code)\r\n  File \"/usr/local/lib/python2.7/site-packages/js2py/host/jseval.py\", line 49, in executor\r\n    exec(code, globals())\r\n  File \"<string>\", line 429\r\n    def PyJs_anonymous_47_(PyJsArg_5f5f7375706572636c6173735f5072656c75646524646f74426f756e6465645f30_, conj, disj, not, this, arguments, var=var):\r\n                                                                                                                      ^\r\nSyntaxError: invalid syntax\r\n>>>\r\n```\r\n\r\nI assume it has today with \"not\" being a python keyword? You can grab a copy of the source JS from here: https://registry.npmjs.org/neodoc/-/neodoc-0.3.0.tgz (\"dist/docopt.purs.js\")."},"comment":{"url":"https://api.github.com/repos/PiotrDabkowski/Js2Py/issues/comments/222229367","html_url":"https://github.com/PiotrDabkowski/Js2Py/issues/44#issuecomment-222229367","issue_url":"https://api.github.com/repos/PiotrDabkowski/Js2Py/issues/44","id":222229367,"user":{"login":"Lexcon","id":4091643,"avatar_url":"https://avatars.githubusercontent.com/u/4091643?v=3","gravatar_id":"","url":"https://api.github.com/users/Lexcon","html_url":"https://github.com/Lexcon","followers_url":"https://api.github.com/users/Lexcon/followers","following_url":"https://api.github.com/users/Lexcon/following{/other_user}","gists_url":"https://api.github.com/users/Lexcon/gists{/gist_id}","starred_url":"https://api.github.com/users/Lexcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lexcon/subscriptions","organizations_url":"https://api.github.com/users/Lexcon/orgs","repos_url":"https://api.github.com/users/Lexcon/repos","events_url":"https://api.github.com/users/Lexcon/events{/privacy}","received_events_url":"https://api.github.com/users/Lexcon/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T19:07:44Z","updated_at":"2016-05-27T19:07:44Z","body":"\n    \nI agree. Totally ace.\n\n\nVerzonden vanaf mijn Samsung-apparaat\n\n-------- Oorspronkelijk bericht --------\nVan: Felix Schlitter <notifications@github.com> \nDatum: 27-05-16  20:51  (GMT+01:00) \nAan: PiotrDabkowski/Js2Py <Js2Py@noreply.github.com> \nOnderwerp: Re: [PiotrDabkowski/Js2Py] SyntaxError: invalid syntax for identifier\r  named \"not\" (#44) \n\nDude this project is ace, no need to be apologetic. Is there any chance for a patch-level release to pypi that includes this fix?\n\n—\nYou are receiving this because you are subscribed to this thread.\nReply to this email directly, view it on GitHub, or mute the thread.\n\n\n  \n  \n\n\n\n"}}
{"actor":{"display_login":"Lexcon"}}