Merge pull request #2145 from larsbrinkhoff/muf

Add MUF - Multi-user Forth
This commit is contained in:
Arfon Smith
2015-02-26 21:04:13 -06:00
5 changed files with 566 additions and 2 deletions

View File

@@ -178,11 +178,13 @@ module Linguist
end
end
disambiguate "M", "Mathematica", "Matlab", "Mercury", "Objective-C" do |data|
disambiguate "M", "MUF", "Mathematica", "Matlab", "Mercury", "Objective-C" do |data|
if ObjectiveCRegex.match(data)
Language["Objective-C"]
elsif data.include?(":- module")
Language["Mercury"]
elsif /^: /.match(data)
Language["MUF"]
elsif /^\s*;/.match(data)
Language["M"]
elsif /^\s*\(\*/.match(data)