From: Marius Gavrilescu Date: Fri, 12 Feb 2016 10:31:47 +0000 (+0000) Subject: Add D, OCaml, PHP, Python3 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=6a9460250aada7d8852ff4edda29c377ce5ad03a;p=gruntmaster-page.git Add D, OCaml, PHP, Python3 --- diff --git a/js/90-divine-format.js b/js/90-divine-format.js index 3b0943f..2fdc65f 100644 --- a/js/90-divine-format.js +++ b/js/90-divine-format.js @@ -6,6 +6,8 @@ const ext_table = { 'cxx' : 'CPP', 'C' : 'CPP', + 'd' : 'D', + 'go' : 'GOLANG', 'gs' : 'GOLFSCRIPT', @@ -15,6 +17,8 @@ const ext_table = { 'm' : 'OBERON', + 'ml' : 'OCAML', + 'lisp': 'SBCL', 'lsp' : 'SBCL', 'cl' : 'SBCL', @@ -26,6 +30,8 @@ const ext_table = { 'pl' : 'PERL', + 'php' : 'PHP', + 'py' : 'PYTHON', 'rb' : 'RUBY' diff --git a/lib/Plack/App/Gruntmaster.pm b/lib/Plack/App/Gruntmaster.pm index 8d96842..cda45fc 100644 --- a/lib/Plack/App/Gruntmaster.pm +++ b/lib/Plack/App/Gruntmaster.pm @@ -24,16 +24,20 @@ use constant USER_REGEX => qr/^\w{2,20}$/a; use constant FORMAT_EXTENSION => { C => 'c', CPP => 'cpp', + D => 'd', GCCGO => 'go', GOLANG => 'go', GOLFSCRIPT => 'gs', HASKELL => 'hs', OBERON => 'm', MONO => 'cs', + OCAML => 'ml', JAVA => 'java', PASCAL => 'pas', PERL => 'pl', + PHP => 'php', PYTHON => 'py', + PYTHON3 => 'py', RUBY => 'rb', SBCL => 'l', }; diff --git a/tmpl/pb_entry.en b/tmpl/pb_entry.en index 9ad7d75..a7b2bc0 100644 --- a/tmpl/pb_entry.en +++ b/tmpl/pb_entry.en @@ -25,15 +25,19 @@