{"action":"created","issue":{"url":"https://api.github.com/repos/github/linguist/issues/4113","repository_url":"https://api.github.com/repos/github/linguist","labels_url":"https://api.github.com/repos/github/linguist/issues/4113/labels{/name}","comments_url":"https://api.github.com/repos/github/linguist/issues/4113/comments","events_url":"https://api.github.com/repos/github/linguist/issues/4113/events","html_url":"https://github.com/github/linguist/issues/4113","id":316902427,"number":4113,"title":"LLVM MachineIR is identified as Mirah Language","user":{"login":"Naville","id":5205699,"avatar_url":"https://avatars3.githubusercontent.com/u/5205699?v=4","gravatar_id":"","url":"https://api.github.com/users/Naville","html_url":"https://github.com/Naville","followers_url":"https://api.github.com/users/Naville/followers","following_url":"https://api.github.com/users/Naville/following{/other_user}","gists_url":"https://api.github.com/users/Naville/gists{/gist_id}","starred_url":"https://api.github.com/users/Naville/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naville/subscriptions","organizations_url":"https://api.github.com/users/Naville/orgs","repos_url":"https://api.github.com/users/Naville/repos","events_url":"https://api.github.com/users/Naville/events{/privacy}","received_events_url":"https://api.github.com/users/Naville/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-23T17:11:06Z","updated_at":"2018-04-23T17:57:46Z","closed_at":null,"author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n\r\n## Preliminary Steps\r\n\r\nPlease confirm you have...\r\n- [✅] reviewed [How Linguist Works](https://github.com/github/linguist#how-linguist-works),\r\n- [✅] reviewed the [Troubleshooting](https://github.com/github/linguist#troubleshooting) docs,\r\n- [✅] considered implementing an [override](https://github.com/github/linguist#overrides),\r\n- [✅] verified an issue has not already been logged for your issue ([linguist issues](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aissue+repo%3Agithub/linguist)).\r\n\r\n<!-- Please review these preliminary steps before logging your issue. You may find the information referenced may answer or explain the behaviour you are seeing. It'll help us to know you've reviewed this information. -->\r\n\r\n## Problem Description\r\n\r\n<!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug -->\r\n\r\nLLVM has a small obscure format known as MIR which stands for MachineIR. This is currently being recognized as Mirah language due to the file extension ``.mir``. This could be detected by using LLVM MIR's keywords like ``liveins:`` ``body:`` ``tracksRegLiveness`` and whatnot\r\n### URL of the affected repository:\r\n\r\n[LLVM-Mirror](https://github.com/llvm-mirror/llvm)\r\n\r\n### Last modified on:\r\n<!-- YYYY-MM-DD -->\r\n2018-04-23\r\n### Expected language:\r\n<!-- expected language -->\r\nLLVM MachineIR\r\n### Detected language:\r\n<!-- detected language -->\r\nMirah"},"comment":{"url":"https://api.github.com/repos/github/linguist/issues/comments/383666414","html_url":"https://github.com/github/linguist/issues/4113#issuecomment-383666414","issue_url":"https://api.github.com/repos/github/linguist/issues/4113","id":383666414,"user":{"login":"pchaigno","id":1764210,"avatar_url":"https://avatars2.githubusercontent.com/u/1764210?v=4","gravatar_id":"","url":"https://api.github.com/users/pchaigno","html_url":"https://github.com/pchaigno","followers_url":"https://api.github.com/users/pchaigno/followers","following_url":"https://api.github.com/users/pchaigno/following{/other_user}","gists_url":"https://api.github.com/users/pchaigno/gists{/gist_id}","starred_url":"https://api.github.com/users/pchaigno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchaigno/subscriptions","organizations_url":"https://api.github.com/users/pchaigno/orgs","repos_url":"https://api.github.com/users/pchaigno/repos","events_url":"https://api.github.com/users/pchaigno/events{/privacy}","received_events_url":"https://api.github.com/users/pchaigno/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T17:57:46Z","updated_at":"2018-04-23T17:57:46Z","author_association":"COLLABORATOR","body":"Thanks for the report @Naville!\r\n\r\nLooks like there's [a large enough corpus of such file on GitHub.com](https://github.com/search?p=1&q=extension%3Amir+liveins+OR+tracksRegLiveness&type=Code&utf8=%E2%9C%93) to warrant its support in Linguist. Would you like to [take a stab at it](https://github.com/github/linguist/blob/master/CONTRIBUTING.md#adding-a-language) @Naville?"}}
{"actor":{"display_login":"pchaigno"}}