{"action":"opened","issue":{"url":"https://api.github.com/repos/the-lambda-church/merlin/issues/543","repository_url":"https://api.github.com/repos/the-lambda-church/merlin","labels_url":"https://api.github.com/repos/the-lambda-church/merlin/issues/543/labels{/name}","comments_url":"https://api.github.com/repos/the-lambda-church/merlin/issues/543/comments","events_url":"https://api.github.com/repos/the-lambda-church/merlin/issues/543/events","html_url":"https://github.com/the-lambda-church/merlin/issues/543","id":159792400,"number":543,"title":"Merlin provide a hook for other languages. ","user":{"login":"fxfactorial","id":3036816,"avatar_url":"https://avatars.githubusercontent.com/u/3036816?v=3","gravatar_id":"","url":"https://api.github.com/users/fxfactorial","html_url":"https://github.com/fxfactorial","followers_url":"https://api.github.com/users/fxfactorial/followers","following_url":"https://api.github.com/users/fxfactorial/following{/other_user}","gists_url":"https://api.github.com/users/fxfactorial/gists{/gist_id}","starred_url":"https://api.github.com/users/fxfactorial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxfactorial/subscriptions","organizations_url":"https://api.github.com/users/fxfactorial/orgs","repos_url":"https://api.github.com/users/fxfactorial/repos","events_url":"https://api.github.com/users/fxfactorial/events{/privacy}","received_events_url":"https://api.github.com/users/fxfactorial/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-11T20:27:20Z","updated_at":"2016-06-11T20:27:20Z","closed_at":null,"body":"Bear with me. Imagine we had this: \r\n\r\n```ocaml\r\nlet () = \r\n  let foo = 123 in\r\n  let bar = 456 in\r\n  let from_js = [js_code% \r\n   (function () { return true;})()] \r\n  in\r\n  print_bool from_js\r\n```\r\n\r\nAnd what I was thinking is for merlin to see this `js_code` extension and itself call another another program (configurable of my choosing in this case `ternjs`), to get the type check info and give it back to me when I do `C-c C-t`, aka merlin check the type. "}}
{"actor":{"display_login":"fxfactorial"}}