mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-16 08:36:26 +02:00
Add "lisp" as an alias for "elisp" and "el"
This commit is contained in:
parent
0c152fcd72
commit
7f8b4b19ce
2 changed files with 3 additions and 3 deletions
|
@ -71,7 +71,7 @@ func Execute(res http.ResponseWriter, req *http.Request) {
|
||||||
"cpp", "c++",
|
"cpp", "c++",
|
||||||
"csharp", "cs", "c#",
|
"csharp", "cs", "c#",
|
||||||
"elixir", "exs",
|
"elixir", "exs",
|
||||||
"emacs", "elisp", "el",
|
"emacs", "elisp", "el", "lisp",
|
||||||
"go",
|
"go",
|
||||||
"java",
|
"java",
|
||||||
"julia", "jl",
|
"julia", "jl",
|
||||||
|
@ -142,7 +142,7 @@ func launch(request Inbound, res http.ResponseWriter) {
|
||||||
execlang = "cpp"
|
execlang = "cpp"
|
||||||
case "cs", "c#":
|
case "cs", "c#":
|
||||||
execlang = "csharp"
|
execlang = "csharp"
|
||||||
case "el", "elisp":
|
case "el", "elisp", "lisp":
|
||||||
execlang = "emacs"
|
execlang = "emacs"
|
||||||
case "exs":
|
case "exs":
|
||||||
execlang = "elixir"
|
execlang = "elixir"
|
||||||
|
|
|
@ -99,7 +99,7 @@ case "$lang" in
|
||||||
"swift")
|
"swift")
|
||||||
bin=swift
|
bin=swift
|
||||||
;;
|
;;
|
||||||
"emacs" | "elisp" | "el")
|
"emacs" | "elisp" | "el" | "lisp")
|
||||||
bin=emacs
|
bin=emacs
|
||||||
;;
|
;;
|
||||||
"bash")
|
"bash")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue