{"action":"created","issue":{"url":"https://api.github.com/repos/jenius/accord/issues/69","labels_url":"https://api.github.com/repos/jenius/accord/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/jenius/accord/issues/69/comments","events_url":"https://api.github.com/repos/jenius/accord/issues/69/events","html_url":"https://github.com/jenius/accord/issues/69","id":53981406,"number":69,"title":"Match extensions to compilers?","user":{"login":"matthew-dean","id":414752,"avatar_url":"https://avatars.githubusercontent.com/u/414752?v=3","gravatar_id":"","url":"https://api.github.com/users/matthew-dean","html_url":"https://github.com/matthew-dean","followers_url":"https://api.github.com/users/matthew-dean/followers","following_url":"https://api.github.com/users/matthew-dean/following{/other_user}","gists_url":"https://api.github.com/users/matthew-dean/gists{/gist_id}","starred_url":"https://api.github.com/users/matthew-dean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthew-dean/subscriptions","organizations_url":"https://api.github.com/users/matthew-dean/orgs","repos_url":"https://api.github.com/users/matthew-dean/repos","events_url":"https://api.github.com/users/matthew-dean/events{/privacy}","received_events_url":"https://api.github.com/users/matthew-dean/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-01-11T04:28:13Z","updated_at":"2015-01-21T03:44:58Z","closed_at":null,"body":"Say I have a list of files in a directory. Is there a way to ask accord which engines compile which file based on file extension? It seems like accord only works with a foreknowledge of exactly which compiler you want to use for one particular file, instead of choosing the engine based on the file (extension).\r\n\r\nI poked around at the undocumented accord.all() function, and it looks like it's at least a way to return the LIST of supported compilers (which is essential), but it looks like you'd have to iterate through each one and load the adapter, before reading the \"extensions\" property. Is that correct? Or is there an easier way?"},"comment":{"url":"https://api.github.com/repos/jenius/accord/issues/comments/70780083","html_url":"https://github.com/jenius/accord/issues/69#issuecomment-70780083","issue_url":"https://api.github.com/repos/jenius/accord/issues/69","id":70780083,"user":{"login":"jenius","id":556932,"avatar_url":"https://avatars.githubusercontent.com/u/556932?v=3","gravatar_id":"","url":"https://api.github.com/users/jenius","html_url":"https://github.com/jenius","followers_url":"https://api.github.com/users/jenius/followers","following_url":"https://api.github.com/users/jenius/following{/other_user}","gists_url":"https://api.github.com/users/jenius/gists{/gist_id}","starred_url":"https://api.github.com/users/jenius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenius/subscriptions","organizations_url":"https://api.github.com/users/jenius/orgs","repos_url":"https://api.github.com/users/jenius/repos","events_url":"https://api.github.com/users/jenius/events{/privacy}","received_events_url":"https://api.github.com/users/jenius/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T03:44:58Z","updated_at":"2015-01-21T03:44:58Z","body":"Yup, it will throw a clear error telling you to install the engine."}}