Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LangDic map[string]Lang = map[string]Lang{}
language dictionary
View Source
var LangSlice = []string{"c", "c++", "c++17", "go", "python3"}
View Source
var OriginLangDic map[string]ExportLang = map[string]ExportLang{ "c": { IsComplieLang: true, CompileCommand: "gcc $codefile -o cat", RunCommand: "./cat", ProgramTypeId: "43", Codefile: "dew.c", Name: "GNU GCC C11 5.1.0", }, "c++": { IsComplieLang: true, CompileCommand: "g++ $codefile -o cat", RunCommand: "./cat", ProgramTypeId: "61", Codefile: "dew.cpp", Name: "GNU G++17 9.2.0 (64 bit, msys 2)", }, "c++17": { IsComplieLang: true, CompileCommand: "g++ $codefile -o cat -std=c++17", RunCommand: "./cat", ProgramTypeId: "54", Codefile: "dew.cpp", Name: "GNU G++17 7.3.0", }, "go": { IsComplieLang: true, CompileCommand: "go build -o cat $codefile", RunCommand: "./cat", ProgramTypeId: "32", Codefile: "dew.go", Name: "Go 1.19", }, "python3": { IsComplieLang: false, CompileCommand: " ", RunCommand: "python3 $codefile", ProgramTypeId: "31", Codefile: "dew.py", Name: "Python 3.8.10", }, }
Functions ¶
func ImportLangDic ¶
func ImportLangDic()
Types ¶
type ExportLang ¶
Click to show internal directories.
Click to hide internal directories.