{"action":"opened","issue":{"url":"https://api.github.com/repos/josdejong/mathjs/issues/1364","repository_url":"https://api.github.com/repos/josdejong/mathjs","labels_url":"https://api.github.com/repos/josdejong/mathjs/issues/1364/labels{/name}","comments_url":"https://api.github.com/repos/josdejong/mathjs/issues/1364/comments","events_url":"https://api.github.com/repos/josdejong/mathjs/issues/1364/events","html_url":"https://github.com/josdejong/mathjs/issues/1364","id":393388174,"node_id":"MDU6SXNzdWUzOTMzODgxNzQ=","number":1364,"title":"Can't represent this equation with mathjs: a + b = b + a","user":{"login":"ashleydavis","id":625126,"node_id":"MDQ6VXNlcjYyNTEyNg==","avatar_url":"https://avatars1.githubusercontent.com/u/625126?v=4","gravatar_id":"","url":"https://api.github.com/users/ashleydavis","html_url":"https://github.com/ashleydavis","followers_url":"https://api.github.com/users/ashleydavis/followers","following_url":"https://api.github.com/users/ashleydavis/following{/other_user}","gists_url":"https://api.github.com/users/ashleydavis/gists{/gist_id}","starred_url":"https://api.github.com/users/ashleydavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashleydavis/subscriptions","organizations_url":"https://api.github.com/users/ashleydavis/orgs","repos_url":"https://api.github.com/users/ashleydavis/repos","events_url":"https://api.github.com/users/ashleydavis/events{/privacy}","received_events_url":"https://api.github.com/users/ashleydavis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-21T09:38:05Z","updated_at":"2018-12-21T09:38:05Z","closed_at":null,"author_association":"NONE","body":"Hi, Mathjs is awesome.\r\n\r\nI having a problem with a particular equation that Mathjs doesn't seem to support.\r\n\r\nI need to use the AST produced, here's some example code:\r\n\r\n`const rootNode = math.parse(\"a + b = b + a\");`\r\n\r\nI get this error:\r\n\r\n```\r\nUncaught SyntaxError: Invalid left hand side of assignment operator = (char 7)\r\n    at createSyntaxError (parse.js:1682)\r\n    at parseAssignment (parse.js:638)\r\n    at parseBlock (parse.js:553)\r\n    at parseStart (parse.js:523)\r\n    at parse (parse.js:69)\r\n    at Object.parse (typed-function.js:1085)\r\n```\r\n\r\nIs there a way to have Mathjs handle this type of equation? Or is it just not supported?\r\n\r\nThanks!"}}
{"actor":{"display_login":"ashleydavis"}}