Add MUF language - Multi-user Forth.

This commit is contained in:
Lars Brinkhoff
2015-02-20 20:44:54 +01:00
parent 739b512cee
commit 2b25bb6d1c
3 changed files with 13 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)