Skip to content
This repository was archived by the owner on Dec 14, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 16 additions & 35 deletions client/langs.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,58 +6,39 @@ package client
var Langs = map[string]string{
"43": "GNU GCC C11 5.1.0",
"52": "Clang++17 Diagnostics",
"42": "GNU G++11 5.1.0",
"50": "GNU G++14 6.4.0",
"54": "GNU G++17 7.3.0",
"2": "Microsoft Visual C++ 2010",
"59": "Microsoft Visual C++ 2017",
"9": "C# Mono 5.18",
"28": "D DMD32 v2.086.0",
"32": "Go 1.12.6",
"12": "Haskell GHC 8.6.3",
"60": "Java 11.0.5",
"36": "Java 1.8.0_162",
"48": "Kotlin 1.3.10",
"61": "GNU G++17 9.2.0 (64 bit, msys 2)",
"65": "C# 8, .NET Core 3.1",
"9": "C# Mono 6.8",
"28": "D DMD32 v2.091.0",
"32": "Go 1.15.6",
"12": "Haskell GHC 8.10.1",
"60": "Java 11.0.6",
"36": "Java 1.8.0_241",
"48": "Kotlin 1.4.0",
"19": "OCaml 4.02.1",
"3": "Delphi 7",
"4": "Free Pascal 3.0.2",
"51": "PascalABC.NET 3.4.2",
"13": "Perl 5.20.1",
"6": "PHP 7.2.13",
"7": "Python 2.7.15",
"31": "Python 3.7.2",
"40": "PyPy 2.7 (7.2.0)",
"41": "PyPy 3.6 (7.2.0)",
"8": "Ruby 2.0.0p645",
"49": "Rust 1.35.0",
"7": "Python 2.7.18",
"31": "Python 3.8.10",
"40": "PyPy 2.7 (7.3.0)",
"41": "PyPy 3.7 (7.3.0)",
"67": "Ruby 3.0.0",
"49": "Rust 1.49.0",
"20": "Scala 2.12.8",
"34": "JavaScript V8 4.8.0",
"55": "Node.js 9.4.0",
"14": "ActiveTcl 8.5",
"15": "Io-2008-01-07 (Win32)",
"17": "Pike 7.8",
"18": "Befunge",
"22": "OpenCobol 1.0",
"25": "Factor",
"26": "Secret_171",
"27": "Roco",
"33": "Ada GNAT 4",
"38": "Mysterious Language",
"39": "FALSE",
"44": "Picat 0.9",
"45": "GNU C++11 5 ZIP",
"46": "Java 8 ZIP",
"47": "J",
"56": "Microsoft Q#",
"55": "Node.js 12.6.3",
}

// LangsExt language's ext
var LangsExt = map[string]string{
"GNU C11": "c",
"Clang++17 Diagnostics": "cpp",
"GNU C++0x": "cpp",
"GNU C++": "cpp",
"GNU C++11": "cpp",
"GNU C++14": "cpp",
"GNU C++17": "cpp",
"MS C++": "cpp",
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package config

import (
"bytes"
"encoding/json"
"io/ioutil"
"os"
"bytes"
"path/filepath"

"github.com/fatih/color"
Expand Down