{"action":"opened","issue":{"url":"https://api.github.com/repos/kframework/k/issues/1790","labels_url":"https://api.github.com/repos/kframework/k/issues/1790/labels{/name}","comments_url":"https://api.github.com/repos/kframework/k/issues/1790/comments","events_url":"https://api.github.com/repos/kframework/k/issues/1790/events","html_url":"https://github.com/kframework/k/issues/1790","id":112278040,"number":1790,"title":"Parser not disambiguiating \"assoc\" production.","user":{"login":"bmmoore","id":698479,"avatar_url":"https://avatars.githubusercontent.com/u/698479?v=3","gravatar_id":"","url":"https://api.github.com/users/bmmoore","html_url":"https://github.com/bmmoore","followers_url":"https://api.github.com/users/bmmoore/followers","following_url":"https://api.github.com/users/bmmoore/following{/other_user}","gists_url":"https://api.github.com/users/bmmoore/gists{/gist_id}","starred_url":"https://api.github.com/users/bmmoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmmoore/subscriptions","organizations_url":"https://api.github.com/users/bmmoore/orgs","repos_url":"https://api.github.com/users/bmmoore/repos","events_url":"https://api.github.com/users/bmmoore/events{/privacy}","received_events_url":"https://api.github.com/users/bmmoore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-20T03:21:37Z","updated_at":"2015-10-20T03:21:37Z","closed_at":null,"body":"In this warning the two parses are just different associations of the same production, which is declared associative.\r\n\r\n    [Warning] Inner Parser: Parsing ambiguity. Arbitrarily choosing the first.\r\n    1: syntax GotoCalcCellSet ::= GotoCalcCellSet GotoCalcCellSet\r\n    [assoc(#token(\"\",KString)) comm(#token(\"\",KString))\r\n    element(#token(\"GotoCalcCellSetItem\",KString)) function()\r\n    hook(#token(\"SET.concat\",KString)) idem(#token(\"\",KString))\r\n    klabel(#token(\"_GotoCalcCellSet_\",KString))\r\n    unit(#token(\".GotoCalcCellSet\",KString))\r\n    wrapElement(#token(\"<goto-calc>\",KString))]\r\n    \r\n    _GotoCalcCellSet_(<goto-calc>(#noDots(),#cells(#cells(<computation>(#noDots(),#KSequence((_)(#KRewrite(IfThenElse(#token(#KVariable,\"_\"),#SemanticCastToK(#token(#KVariable,\"S1\")),#SemanticCastToK(#token(#KVariable,\"S2\"))),#EmptyK())),#SemanticCastToK(#token(#KVariable,\"K\"))),#noDots()),<computation-tail>(#noDots(),#SemanticCastToK(#token(#KVariable,\"Tail\")),#noDots())),#SemanticCastToGotoCalcCellFragment(#token(#KVariable,\"B\"))),#noDots()),_GotoCalcCellSet_((_)(#KRewrite(.GotoCalcCellSet(),<goto-calc>(#noDots(),#cells(#cells(<computation>(#noDots(),#token(#KVariable,\"S1\"),#noDots()),<computation-tail>(#noDots(),#KSequence(#token(#KVariable,\"K\"),#token(#KVariable,\"Tail\")),#noDots())),#SyntacticCast(#token(#KVariable,\"B\"))),#noDots()))),(_)(#KRewrite(.GotoCalcCellSet(),<goto-calc>(#noDots(),#cells(#cells(<computation>(#noDots(),#token(#KVariable,\"S2\"),#noDots()),<computation-tail>(#noDots(),#KSequence(#token(#KVariable,\"K\"),#token(#KVariable,\"Tail\")),#noDots())),#SyntacticCast(#token(#KVariable,\"B\"))),#noDots())))))\r\n    2: syntax GotoCalcCellSet ::= GotoCalcCellSet GotoCalcCellSet\r\n    [assoc(#token(\"\",KString)) comm(#token(\"\",KString))\r\n    element(#token(\"GotoCalcCellSetItem\",KString)) function()\r\n    hook(#token(\"SET.concat\",KString)) idem(#token(\"\",KString))\r\n    klabel(#token(\"_GotoCalcCellSet_\",KString))\r\n    unit(#token(\".GotoCalcCellSet\",KString))\r\n    wrapElement(#token(\"<goto-calc>\",KString))]\r\n    \r\n    _GotoCalcCellSet_(_GotoCalcCellSet_(<goto-calc>(#noDots(),#cells(#cells(<computation>(#noDots(),#KSequence((_)(#KRewrite(IfThenElse(#token(#KVariable,\"_\"),#SemanticCastToK(#token(#KVariable,\"S1\")),#SemanticCastToK(#token(#KVariable,\"S2\"))),#EmptyK())),#SemanticCastToK(#token(#KVariable,\"K\"))),#noDots()),<computation-tail>(#noDots(),#SemanticCastToK(#token(#KVariable,\"Tail\")),#noDots())),#SemanticCastToGotoCalcCellFragment(#token(#KVariable,\"B\"))),#noDots()),(_)(#KRewrite(.GotoCalcCellSet(),<goto-calc>(#noDots(),#cells(#cells(<computation>(#noDots(),#token(#KVariable,\"S1\"),#noDots()),<computation-tail>(#noDots(),#KSequence(#token(#KVariable,\"K\"),#token(#KVariable,\"Tail\")),#noDots())),#SyntacticCast(#token(#KVariable,\"B\"))),#noDots())))),(_)(#KRewrite(.GotoCalcCellSet(),<goto-calc>(#noDots(),#cells(#cells(<computation>(#noDots(),#token(#KVariable,\"S2\"),#noDots()),<computation-tail>(#noDots(),#KSequence(#token(#KVariable,\"K\"),#token(#KVariable,\"Tail\")),#noDots())),#SyntacticCast(#token(#KVariable,\"B\"))),#noDots()))))\r\n            Source(/home/brandon/code/k/c-semantics/semantics/././language/translation/process-label.k)\r\n            Location(184,11,204,12)"}}