Add detection for the Coq language - fixes #116

This commit is contained in:
Abe Voelker
2012-02-17 10:49:05 -06:00
parent 4ad921f176
commit daef609f5f
6 changed files with 535 additions and 0 deletions

View File

@@ -300,6 +300,12 @@ class TestBlob < Test::Unit::TestCase
assert_equal Language['Perl'], blob("perl-test.t").language
assert_equal Language['Turing'], blob("turing.t").language
# .v disambiguation
# https://github.com/progranism/Open-Source-FPGA-Bitcoin-Miner/blob/master/src/sha-256-functions.v
assert_equal Language['Verilog'], blob("sha-256-functions.v").language
# https://github.com/coq/coq/blob/trunk/doc/faq/interval_discr.v
assert_equal Language['Coq'], blob("interval_discr.v").language
# ML
assert_equal Language['OCaml'], blob("Foo.ml").language
assert_equal Language['Standard ML'], blob("Foo.sig").language