Add Rust, Julia, Brainfuck, PHP, OCaml and D
[gruntmaster-page.git] / js / 90-divine-format.js
index a842de1353c790ea649ba05cdfff7ce53f67a178..f8bd6a9bc47ce25e3a312bf1912c58434b246d0f 100644 (file)
@@ -1,6 +1,10 @@
 const ext_table = {
+       'bf'  : 'BRAINFUCK',
+
        'c'   : 'C',
 
+       'd'   : 'D',
+
        'cc'  : 'CPP',
        'cpp' : 'CPP',
        'cxx' : 'CPP',
@@ -20,13 +24,21 @@ const ext_table = {
 
        'java': 'JAVA',
 
+       'jl'  : 'JULIA',
+
+       'ml'  : 'OCAML',
+
        'pas' : 'PASCAL',
 
        'pl'  : 'PERL',
 
+       'php' : 'PHP',
+
        'py'  : 'PYTHON',
 
-       'rb'  : 'RUBY'
+       'rb'  : 'RUBY',
+
+       'rs'  : 'RUST'
 }
 
 function divine_format() {
This page took 0.009928 seconds and 4 git commands to generate.