{"action":"closed","issue":{"url":"https://api.github.com/repos/kovasb/gamma/issues/5","labels_url":"https://api.github.com/repos/kovasb/gamma/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/kovasb/gamma/issues/5/comments","events_url":"https://api.github.com/repos/kovasb/gamma/issues/5/events","html_url":"https://github.com/kovasb/gamma/issues/5","id":75412536,"number":5,"title":"Uncaught Error: Invalid literal: :fail","user":{"login":"sgrove","id":35296,"avatar_url":"https://avatars.githubusercontent.com/u/35296?v=3","gravatar_id":"","url":"https://api.github.com/users/sgrove","html_url":"https://github.com/sgrove","followers_url":"https://api.github.com/users/sgrove/followers","following_url":"https://api.github.com/users/sgrove/following{/other_user}","gists_url":"https://api.github.com/users/sgrove/gists{/gist_id}","starred_url":"https://api.github.com/users/sgrove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgrove/subscriptions","organizations_url":"https://api.github.com/users/sgrove/orgs","repos_url":"https://api.github.com/users/sgrove/repos","events_url":"https://api.github.com/users/sgrove/events{/privacy}","received_events_url":"https://api.github.com/users/sgrove/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-12T01:09:39Z","updated_at":"2015-05-12T04:09:27Z","closed_at":"2015-05-12T04:09:27Z","body":"\r\n```clj\r\n(def vertex-position (g/attribute \"aVertexPosition\" :vec3))\r\n(def u-p-matrix (g/uniform \"uPMatrix\" :mat4))\r\n(def u-mv-matrix (g/uniform \"uMVMatrix\" :mat4))\r\n(def vtx-time        (g/uniform \"u_Time\" :vec2))\r\n\r\n(def vertex-shader\r\n  {(g/gl-position) (-> (g/* u-p-matrix u-mv-matrix)\r\n                       (g/* (g/vec4 vertex-position 1))\r\n                       (g/+ (g/vec4 (g/sin (g/swizzle vtx-time :x)) 0 0 0)))})\r\n```\r\nErrors somewhere in `gamma.ast`:\r\n`Uncaught Error: Invalid literal: :fail`\r\n\r\nTrying to produce the output:\r\n```glsl\r\nuniform mat4 uPMatrix;\r\nuniform mat4 uMVMatrix;\r\nattribute vec3 aVertexPosition;\r\nuniform vec2 u_Time;\r\nvoid main(void){\r\n\r\n(gl_Position = (((uPMatrix * uMVMatrix) * vec4(aVertexPosition, 1)) + vec4(\r\n  (sin u_Time.x),\r\n  0,\r\n  0,\r\n  0)));\r\n}\r\n```"}}