Skip to content

Commit

Permalink
Added several more languages to the LANGUAGES hash.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pistos committed Aug 3, 2010
1 parent 9ae4016 commit 5b3fcdd
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions lib/ideone.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,26 @@ module Ideone
class IdeoneError < StandardError; end

LANGUAGES = {
:ruby => 17,
:python => 4,
:c => 11
:bash => 28,
:c => 11,
'c#' => 27,
:csharp => 27,
'c++' => 1,
:cpp => 1,
:cplusplus => 1,
:clojure => 111,
:commonlisp => 32,
:clisp => 32,
:erlang => 36,
:go => 114,
:haskell => 21,
:java => 10,
:javascript => 112,
:js => 112,
:perl => 3,
:php => 29,
:python => 4,
:ruby => 17,
}
TIMEOUT = 4 # seconds

Expand Down

0 comments on commit 5b3fcdd

Please sign in to comment.