Skip to content

Commit

Permalink
Merge pull request #35 from JoelNiemela/update-language-guess
Browse files Browse the repository at this point in the history
Update _LANGUAGE_GUESS to include new languages
  • Loading branch information
niemela authored Mar 16, 2023
2 parents 337c877 + a629371 commit f5c31f3
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
'.cpy': 'COBOL',
'.fs': 'F#',
'.go': 'Go',
'.h': 'C++',
'.hs': 'Haskell',
'.java': 'Java',
'.js': 'JavaScript',
'.js': 'JavaScript (Node.js)',
'.ts': 'TypeScript',
'.kt': 'Kotlin',
'.lisp': 'Common Lisp',
'.cl': 'Common Lisp',
Expand All @@ -46,10 +46,19 @@
'.pas': 'Pascal',
'.php': 'PHP',
'.pl': 'Prolog',
'.py': 'Python 3',
'.pyc': 'Python 3',
'.rb': 'Ruby',
'.rs': 'Rust',
'.scala': 'Scala',
'.f90': 'Fortran',
'.f': 'Fortran',
'.for': 'Fortran',
'.sh': 'Bash',
'.apl': 'APL',
'.ss': 'Gerbil',
}

_GUESS_MAINCLASS = {'Java', 'Scala', 'Kotlin'}
_GUESS_MAINFILE = {'Python 2', 'Python 3', 'PHP', 'JavaScript', 'Rust', 'Pascal'}

Expand Down

0 comments on commit f5c31f3

Please sign in to comment.