Add the Mercury language to linguist

lib/linguist/languages.yml:
    Add the declaration for the language.

samples/Mercury:
    Add samples for the classifier as Mercury shares it's filename extension
    with several other languages.
This commit is contained in:
Paul Bone
2013-03-08 15:45:22 +11:00
parent 64ce62a804
commit f0ad498b93
8 changed files with 15610 additions and 0 deletions

14
samples/Mercury/hello.m Normal file
View File

@@ -0,0 +1,14 @@
% "Hello World" in Mercury.
% This source file is hereby placed in the public domain. -fjh (the author).
:- module hello.
:- interface.
:- import_module io.
:- pred main(io::di, io::uo) is det.
:- implementation.
main(!IO) :-
io.write_string("Hello, world\n", !IO).